test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • marm Friend
    #150847

    On the JA Lime Template you have a title ” What’s New Here” with an underline line

    http://www.joomlart.com/demo/#templates.joomlart.com/ja_lime

    (Code line 77 of template.css h1.componentheading span )

    This title only appears like this on the front page and on heading of sections in joomla, I would like it to display on single page articles. is it possible?

    Anonymous Moderator
    #342642

    Hi marm

    It is the title of page on the frontpage and it is section name in section blog page

    For other pages, it is not exist. Hope it helps

    marm Friend
    #342644

    Thank you for the quick reply,

    I really want the title and the underline on every page, even just on a page displaying a single article.
    Is it possible?

    Anonymous Moderator
    #342939

    Dear sir

    In the case, please try to open templatesja_limelayoutsblocksmain.php file, here you can add a text at the top of file for your idea

    I am sorry for not being of much help in the case

    marm Friend
    #343131

    I don’t think I’m explaining my self clearly.

    If you look at this page

    http://templates.joomlart.com/ja_lime/index.php?option=com_content&view=article&id=5&Itemid=2

    then look at this page

    http://templates.joomlart.com/ja_lime/index.php?option=com_weblinks&view=categories&Itemid=48

    You will see on the weblinks page you get a nice nice grey bar with WEBLINKS and an underline

    If you look back at the Joomla licence page (first example)
    you only get a normal heading of the article.

    I would like the article heading to be the same style as the WEBLINKS page

    Hope that makes more sense

    🙂

    marm Friend
    #343260

    Can anyone help with this? Just trying to ascertain id its possible to this this with a joomla setting or do i need to add code?

    Any help would be good.

    Saguaros Moderator
    #343881

    Dear marm!
    <blockquote>You will see on the weblinks page you get a nice nice grey bar with WEBLINKS and an underline
    </blockquote>

    this style only apply for the page title.

    give you two options to resolve this issue:
    Pls open the file: /templates/ja_lime/html/com_content/article/default.php
    1) you would like to use the page title:
    you find following css:
    [PHP]
    <?php if ($this->params->get(‘show_page_title’, 1) && $this->params->get(‘page_title’) != $this->article->title) : ?>

    <div class=”componentheading<?php echo $this->escape($this->params->get(‘pageclass_sfx’)); ?> clearfix”><?php echo $this->escape($this->params->get(‘page_title’)); ?></div>

    <?php endif; ?>
    [/PHP]
    and replace:
    [PHP]
    <?php if ($this->params->get(‘show_page_title’, 1) && $this->params->get(‘page_title’) != $this->article->title) : ?>

    <h1 class=”componentheading<?php echo $this->escape($this->params->get(‘pageclass_sfx’)); ?> clearfix”><span><?php echo $this->escape($this->params->get(‘page_title’)); ?><span></h1>

    <?php endif; ?>
    [/PHP]

    2) you would like to apply for the title of article:
    pls find the following css:
    [PHP]
    <?php if ($this->params->get(‘show_title’,1)) : ?>

    <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]

    and replace:
    [PHP]
    <?php if ($this->params->get(‘show_title’,1)) : ?>

    <h1 class=”componentheading<?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’ )); ?>”>

    <span><?php echo $this->escape(isset($this->article->page_title)?$this->article->page_title:$this->article->title); ?></span>

    </a>

    <?php else : ?>

    <span><?php echo $this->escape(isset($this->article->page_title)?$this->article->page_title:$this->article->title); ?></span>

    <?php endif; ?>

    <?php endif; ?>

    </h1>

    [/PHP]

    Good luck

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

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

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