Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • orsha Friend
    #154397

    Hi,

    I want to have a nice design for my heading on my articles.

    Where can I edit it and how?

    Also, is there a way to have the same line underneath the heading like I get when I use _havecolor suffix on the modules?

    Thanks,

    Or.

    Saguaros Moderator
    #355874

    You open the file: templatesja_oreshtmlcom_contentarticledefault_default.php and find the following code:
    [PHP]
    <h2 class=”contentheading<?php echo $this->escape($this->params->get( ‘pageclass_sfx’ )); ?> clearfix”>
    <?php if ($this->params->get(‘link_titles’) && $this->article->readmore_link != ”) : ?>
    <a href=”<?php echo $this->article->readmore_link; ?>” class=”contentpagetitle<?php echo $this->escape($this->params->get( ‘pageclass_sfx’ )); ?>”>
    <?php echo $this->escape(isset($this->article->page_title)?$this->article->page_title:$this->article->title); ?>
    </a>
    <?php else : ?>
    <?php echo $this->escape(isset($this->article->page_title)?$this->article->page_title:$this->article->title); ?>
    <?php endif; ?>
    <?php endif; ?>
    </h2>
    [/PHP]
    replace:
    [PHP]
    <?php if ($this->params->get(‘link_titles’) && $this->article->readmore_link != ”) : ?>
    <h2 class=”contentheading<?php echo $this->escape($this->params->get( ‘pageclass_sfx’ )); ?> clearfix”>
    <a href=”<?php echo $this->article->readmore_link; ?>” class=”contentpagetitle<?php echo $this->escape($this->params->get( ‘pageclass_sfx’ )); ?>”>
    <?php echo $this->escape(isset($this->article->page_title)?$this->article->page_title:$this->article->title); ?>
    </a></h2>
    <?php else : ?>
    <div class=”moduletable_havecolor”>
    <h3>
    <?php echo $this->escape(isset($this->article->page_title)?$this->article->page_title:$this->article->title); ?>
    </h3>
    </div>
    [/PHP]

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

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 14 years, 2 months ago.

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