-
AuthorPosts
-
hbf1000 Friend
hbf1000
- Join date:
- June 2008
- Posts:
- 112
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 15
- Thanked:
- 3 times in 1 posts
April 6, 2013 at 1:07 pm #186515Hi, I just did the following on my website:
1. got /components/com_content/views/article/tmpl/default.php
2. edit this file so that article titles are on h1
3. upload the edited file to ja_purity_ii/html/com_content/articleThis solved the h1 issue, but on article URL, the layout has an issue. Above the title, there is a collecion of info like parent category name, author name, date published and so on. In this URL this piece has an issue, as can be seen in the picture:
This only happens on article URL, not on categories URL.
Would aprreciate any help to fix this. Little CSS experience.
Tks in advance.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 8, 2013 at 10:10 am #489185I have customized it in this file
+ Download and extract my attached file
+ Copy it into: ja_purity_ii/html/com_content/article
+ Open default.php file
And change H1 again
<?php if ($params->get('show_title')) : ?>
<h1 class="contentheading">
<?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
<a href="<?php echo $this->item->readmore_link; ?>">
<?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>
</h1>
<?php endif; ?>
Let me know the result
1 user says Thank You to Ninja Lead for this useful post
hbf1000 Friendhbf1000
- Join date:
- June 2008
- Posts:
- 112
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 15
- Thanked:
- 3 times in 1 posts
April 10, 2013 at 4:30 am #489391Great, tks a lot !
tks ! tks ! tks !
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by hbf1000 11 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
CSS + Joomla core override
Viewing 3 posts - 1 through 3 (of 3 total)