Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • bewrong Friend
    #155075

    Hi,

    I’m sorry but I can’t find the css-file where I can change the style of de adress text in the contact form.
    I don’t like the italic font and I want to change the style in bold?

    Thank you for your help in advance!

    Kind regards,
    BeWrong

    aman204 Friend
    #358242

    Go to::

    /templates/ja_kyanite_ii/html/com_contact/contact/default_address.php file

    and wrap in this code::

    <?php if ($this->contact->address && $this->contact->params->get(‘show_street_address’)) : ?>
    <?php echo nl2br($this->escape($this->contact->address)); ?><br />
    <?php endif; ?>

    <?php if ($this->contact->suburb && $this->contact->params->get(‘show_suburb’)) : ?>
    <?php echo $this->escape($this->contact->suburb); ?><br />
    <?php endif; ?>

    <?php if ($this->contact->state && $this->contact->params->get(‘show_state’)) : ?>
    <?php echo $this->escape($this->contact->state); ?><br />
    <?php endif; ?>

    <?php if ($this->contact->country && $this->contact->params->get(‘show_country’)) : ?>
    <?php echo $this->escape($this->contact->country); ?><br />
    <?php endif; ?>

    <?php if ($this->contact->postcode && $this->contact->params->get(‘show_postcode’)) : ?>
    <?php echo $this->escape($this->contact->postcode); ?><br />
    <?php endif; ?>

    <?php endif; ?>

    <?php if (($this->contact->email_to && $this->contact->params->get(‘show_email’)) || $this->contact->telephone || $this->contact->fax ) : ?>

    <?php if ($this->contact->email_to && $this->contact->params->get(‘show_email’)) : ?>
    <?php if (( $this->contact->params->get(‘contact_icons’) ==0) || ( $this->contact->params->get(‘contact_icons’) ==1)): ?>
    <span class=”marker”><?php echo $this->contact->params->get(‘marker_email’); ?></span>
    <?php endif; ?>
    <?php echo $this->contact->email_to; ?><br />
    <?php endif; ?>

    <?php if ($this->contact->telephone && $this->contact->params->get(‘show_telephone’)) : ?>

    <?php if (( $this->contact->params->get(‘contact_icons’) ==0) || ( $this->contact->params->get(‘contact_icons’) ==1)): ?>
    <span class=”marker”><?php echo $this->contact->params->get(‘marker_telephone’); ?></span>
    <?php endif; ?>
    <?php echo nl2br($this->escape($this->contact->telephone)); ?><br />

    <?php endif; ?>

    <?php if ($this->contact->fax && $this->contact->params->get(‘show_fax’)) : ?>

    <?php if (( $this->contact->params->get(‘contact_icons’) ==0) || ( $this->contact->params->get(‘contact_icons’) ==1)): ?>
    <span class=”marker”><?php echo $this->contact->params->get(‘marker_fax’); ?></span>
    <?php endif; ?>
    <?php echo nl2br($this->escape($this->contact->fax)); ?><br />
    <?php endif; ?>

    <?php if ( $this->contact->mobile && $this->contact->params->get( ‘show_mobile’ ) ) :?>
    <?php if (( $this->contact->params->get(‘contact_icons’) ==0) || ( $this->contact->params->get(‘contact_icons’) ==1)): ?>
    <span class=”marker”><?php echo $this->contact->params->get( ‘marker_mobile’ ); ?></span>
    <?php endif; ?>
    <?php echo nl2br($this->escape($this->contact->mobile)); ?><br />
    <?php endif; ?>

    <?php if ($this->contact->webpage && $this->contact->params->get(‘show_webpage’)) : ?>
    <a href=”<?php echo $this->escape($this->contact->webpage); ?>” target=”_blank”>
    <?php echo $this->escape($this->contact->webpage); ?></a><br />
    <?php endif; ?>

    with <span style=”font-style:normal;font-weight:bold;”>…</span>

    bewrong Friend
    #358250

    Uupps….is there no css file leading?:((

    aman204 Friend
    #358252

    You can add the reference in css file but it wont override the italic formatting

    If you wish, You can pm me ftp details and I will update it for you 🙂

    bewrong Friend
    #358581

    I will try it out. Thank you very much for your support!:-*

    tanercandan Friend
    #468577

    Hi !!
    all day i am looking for something. and i think you know hoW to change the adress in contact page. i want to write my own adress but couldnt find it???

    Ninja Lead Moderator
    #468734

    <em>@tanercandan 340323 wrote:</em><blockquote>Hi !!
    all day i am looking for something. and i think you know hoW to change the adress in contact page. i want to write my own adress but couldnt find it???</blockquote>

    You can change text from admin area

    <blockquote>Admin area->Components->Contacts->Contacts->edit Contact Name Here and change anything you like it</blockquote>

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 4 voices, and was last updated by  Ninja Lead 12 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum