On the <h1> tag for the front page, you could always include a class:
<h1 class="whatever">
then add the spacing to the class, you could then set h1 back to 1em in your css and everything should then line up.
On the <h1> tag for the front page, you could always include a class:
<h1 class="whatever">
then add the spacing to the class, you could then set h1 back to 1em in your css and everything should then line up.
There should be no need to add a class tag in the php. Just combine the h1 with another class/id to make it specific, like
#indexHome h1 {}
to apply only to the home page.
Hey that would work as well, the thing is though that would add a 4em padding to every occurence in the home page. I thought I would single out the one which caused the issue so if need be the <h1> tag could be used again.
The h1 tag is only supposed to be used once in a page... and even if it were to be used again, there should be existing tags or other CSS methods to distinguish between them.