Problem embedding article title in <H1>

GK User
Wed Mar 28, 2012 10:42 am
Hello,

I noticed that articles titles were embedded in <H2> tags, i would like to have then embedded in H1 tags (only in article layout not in blog layout if possible) Could someone tell me which file i should modify?

I tried looking through the template files but it doesn't seem to be there, I COULD HAVE MISSED IT, i also tried to modify the file : /components/com_content/views/article/tmpl , but this doesn't seem to work either.

example of article layout page http://www.bennetonable.com/marketing-web/referencement-naturel

Code: Select all
<div id="gkComponent">                     
<div class="item-page">
<h2>   <a href="/marketing-web/referencement-naturel"> Référencement naturel</a> </h2>


I would like the code to appear like this:
Code: Select all
<div id="gkComponent">                     
<div class="item-page">
<h1>   <a href="/marketing-web/referencement-naturel"> Référencement naturel</a> </h1>

Would be glad if someone could help me on this one :)

User avatar
Fresh Boarder

GK User
Wed Mar 28, 2012 1:47 pm
Please open file in template/html/com_content/article/default.php and replace <h2> tag with desired <h1> this will affect to all articles.
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.