You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

H1 Tag – Post Title

UserPost

4:20 am
January 27, 2010


roscoe

New Member

posts 2

1

Good Day,

I'm trying to change my post titles to H2. Currently appear as H1.

1) When I modify the Single Post template, no change.

2) I can change to H2 by modifying the Main Index template, but the color of the title changes from black to very light gray.

How can I change to H2 and retain black color?

Thank you for your help.

4:55 pm
February 18, 2010


JoniD

Member

posts 8

2

I asked a really dumb question here…and now crawl back to erase it…sorry….must take a lot of patience to moderate a forum.  My hat is off to you Ryan .
-Joni

3:17 pm
March 29, 2010


Ryan

Admin

posts 1252

3

If you go into style.php and find the h2.pagetitle code (about line 60) , copy it and paste it and rename it h1.pagetitle.  Then your page titles as H1 tags will appear as intended.

6:27 am
April 17, 2010


MichaelMalega

London

Member

posts 8

4

Hi Ryan, I have tried to change Page Title to H! from H" and for some reason it didn't work, after refreshing the page, I have checked the Source Code and it still shows the page title in H2,

Could you please check it again the steps you described to make sure it works

 

Thanks

Michael Malerga

Mykhailo Malega

7:07 pm
April 19, 2010


Ryan

Admin

posts 1252

5

Did you edit the page.php?  That's for pages and is where you want the H1 tag.  Just look for the H2 tags around the title code and change it to H1.  I think I replied on your other post about the code in the style.php file.  Just add h1.pagetitle to the h2.pagetitle separated by a comma.  That way if you still have h2 tags in other pages, they will still be styled.

3:39 am
April 25, 2010


MichaelMalega

London

Member

posts 8

6

All works now after changing in two places as you described :)

Mykhailo Malega