-
AuthorPosts
-
May 4, 2010 at 4:29 pm #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 ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 4, 2010 at 4:59 pm #342642Hi 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
May 4, 2010 at 5:05 pm #342644Thank 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 ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 7, 2010 at 4:37 pm #342939Dear 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
May 10, 2010 at 11:36 am #343131I 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
🙂
May 11, 2010 at 5:12 pm #343260Can 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 18, 2010 at 3:29 am #343881Dear 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
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by Saguaros 14 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum