• jamiemch

    (@jamiemch)


    Hi,

    I’m trying to optimise my site but am struggling with h1 and h2 tags. Basically – I don’t have any!

    Ideally I’d like my site description to be h1 and post titles h2, can anyone please tell me how to do this?

    My site is – thequeersphere.com

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi

    (@esmi)

    Unless you would be comfortanle turning nearly all of the `<h3></h3>

    esmi

    (@esmi)

    Unless you would be comfortanle turning nearly all of the `<h3></h3>

    esmi

    (@esmi)

    Unless you would be comfortanle turning nearly all of the `<h3></h3>

    esmi

    (@esmi)

    Unless you would be comfortable turning nearly all of the <h3></h3> tags into <h1> and/or <h2> tags right across all templates in your theme, I’d suggest you start looking for another theme.

    Thread Starter jamiemch

    (@jamiemch)

    I like my theme a lot so don’t really want to change.

    My h3 tags are just in the sidebar and I doubt the achieve much so I wouldn’t mind getting rid of them if thats what you’re suggesting?

    esmi

    (@esmi)

    My h3 tags are just in the sidebar

    No, they’re not. They are used for your post titles on your home page (template: index.php), for a start.

    Thread Starter jamiemch

    (@jamiemch)

    Ah, I see, just looked into the code and I see

    <div class="clearfloat">
    
    	<h3 class="cat_title"><a href="http://thequeersphere.com/category/comics/" title="View all posts in Comics" rel="category tag">Comics</a>, <a href="http://thequeersphere.com/category/featured/" title="View all posts in Featured" rel="category tag">Featured</a>, <a href="http://thequeersphere.com/category/film/" title="View all posts in Film" rel="category tag">Film</a> &raquo;</h3>

    So the h3 tags aren’t actually going around the title of post, they’re going around its category?

    esmi

    (@esmi)

    Sorry – you are correct. I simply checked the document outline for your home page. On that template, you need to change <div class="title"></div> to <h2 class="title"></h2>.

    Thread Starter jamiemch

    (@jamiemch)

    Excellent!

    That worked a charm – thanks a lot! Hopefully I should see some more organic search from that?

    How do I go about adding h1 tags? I’d like a site description under my logo to be it – I know how to edit the CSS so it wont be HUGE but I’m not sure how to add it.

    Thanks again

    Jamie

    esmi

    (@esmi)

    Try editing header.php and changing <div id="logo" class="left">[...]</div> to <h1 id="logo" class="left">[...]</h1>

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Adding h1 & h2 tags’ is closed to new replies.