Wordpress - logo is H1 tag - how do I alter?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4434
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Wordpress - logo is H1 tag - how do I alter?

Post by simonmlewis »

I have a client's site that has the logo inside a h1 tag, which is obviously bad. As there are only meant to be text in H1 tags.

It's using a theme called Travelify. I don't see which php file has the logo in it to be able to text it by removing the H1 tag. Obviously I don't want to break it, but that H1 could be causing issues....

Any ideas?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Christopher
Site Administrator
Posts: 13595
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Wordpress - logo is H1 tag - how do I alter?

Post by Christopher »

It has been a while, but I recall there is a style.css stylesheet in the theme directory. Search for that.
(#10850)
simonmlewis
DevNet Master
Posts: 4434
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Wordpress - logo is H1 tag - how do I alter?

Post by simonmlewis »

But even if there is, that won't remove the "h1" from the code. :(
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6425
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Wordpress - logo is H1 tag - how do I alter?

Post by Celauran »

Probably header.php
Post Reply