Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Michael Impelluso Developer
    #165355

    On this page (http://tricoci.pestconnect.com/prospective-students/perspectives-from-salons-a-spas.html), the maroon article heading is generated dynamically. I need to make it so the text to the left of the “|” is a different color, but the stuff to the right will stay maroon.

    It’s in an H2 tag with a class of “contentheading”, and I found that in the CSS, but since I need to only change the color of part of it, I need to somehow get to the source file and maybe throw a span tag with a different class around the first part.

    Can anyone tell what file I would have to edit?

    chavan Friend
    #397073

    Please check this Page.

    you will find the following code in this file : /templates/ja_lead/html/com_content/article/default.php


    <h2 class="contentheading<?php echo $this->escape($this->params->get( 'pageclass_sfx' )); ?>">
    <?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
    <a href="<?php echo $this->escape($this->article->readmore_link); ?>" class="contentpagetitle<?php echo $this->escape($this->params->get( 'pageclass_sfx' )); ?>">
    <?php echo $this->escape($this->article->title); ?>
    </a>
    <?php else : ?>
    <?php echo $this->escape($this->article->title); ?>
    <?php endif; ?>
    </h2>

    Note: If you Find my Post useful please click on the Thanks Icon

    Michael Impelluso Developer
    #397706

    Thanks so much, that was just what I needed!

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

This topic contains 3 replies, has 2 voices, and was last updated by  Michael Impelluso 13 years, 5 months ago.

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