Wordpress H1 Question

by 6 replies
7
Currently a Wordpress theme of mine has the header being H1 and I
don't want it to be. To change this, would this work? This shows up on all my posts it appears, so in part I believe it detracts from my SEO as I want it to focus on the title and so on, not to take in to consideration a picture?

In styles.css, changing the logo part from...

#header h1.logo{
float:left;
padding:25px;

to...

#header span.logo{
float:left;
padding:25px;

and header.php from...

<h1 class="<?php if(get_option('pr_logo')){ echo "logo"; }else{echo "logo_text";} ?>">

<a href="<?php echo home_url(); ?>"><?php if(!get_option('pr_logo')){ bloginfo('title');} if(get_option('pr_logo')){ ?><img src="<?php echo get_option('pr_logo'); ?>" alt="<?php bloginfo('name'); ?>" /><?php }?></a></h1>

to...

<span class="<?php if(get_option('pr_logo')){ echo "logo"; }else{echo "logo_text";} ?>">

<a href="<?php echo home_url(); ?>"><?php if(!get_option('pr_logo')){ bloginfo('title');} if(get_option('pr_logo')){ ?><img src="<?php echo get_option('pr_logo'); ?>" alt="<?php bloginfo('name'); ?>" /><?php }?></a></span>

-------

Is that how I would "un-H1 it"? Or is there a better way?

To see the theme live you can click one of several links in my sig: Dedicated Server, Email Marketing, or VPS.

Would it be best to do this -- to make the header not H1? Does it make any sense for it to be H1?

Thanks so much for all the help.
#website design #questions #website #wordpressy
  • Hey there,

    pro themes usually have the logo psd included so anybody with photoshop will be able to change it for you. Get it done on Fiverr if you don't have PS.

    Cheers
    Rob
  • Thank you! Any insight to the 2nd question?
    • [1] reply
    • I'll change the text for you. I just downloaded the psd files, what do you want it to say? are you using the red version?

      If the h1 tag is already wrapped in the .logo div, you can probably just remove the h1 entirely... do you have firebug for firefox? you can test it out before you change any of the code... do you have that theme installed on a live server? I can check that out for you too...

      send me a PM or email digitalrenewal@gmail.com and tell me where you want your logo file sent to
      • [1] reply
  • Banned
    Change this .gif image to whatever you want.

    http://www.elegantthemes.com/v2/images/logo.gif

    Helps to have the original layered psd file.

Next Topics on Trending Feed

  • 7

    Currently a Wordpress theme of mine has the header being H1 and I don't want it to be. To change this, would this work? This shows up on all my posts it appears, so in part I believe it detracts from my SEO as I want it to focus on the title and so on, not to take in to consideration a picture?