Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Blog title has h2 tag - how to change to h1? (http://forum.bytesforall.com/showthread.php?t=15703)

acalem Oct 19, 2011 08:15 AM

[SOLVED] Blog title has h2 tag - how to change to h1?
 
My website using the Atahualpa theme v3.7.1 has (by default) an h2 tag in the title and a P tag in the tagline.

I would like to change this to h1 for the blog title and h2 for the tagline. How can I do that? I believe the solution is in the "Style & edit HEADER AREA" menu item, but I have no idea what values to change/insert there.

Could you please help? Thanks

lmilesw Oct 19, 2011 08:35 AM

Look in ATO>Configure SEO with regards to your site title. I am not sure about making the tagline h2. Maybe an SEO or other tagline plugin can help.

acalem Oct 20, 2011 03:26 AM

Thanks, I did that and played around with the options but it didn't seem to help. I'm still seeing this (using Firebug):

<h2 class="blogtitle">
<a href="http://best-baby-car-seat.org/">Best Baby Car Seat</a>
</h2>
<p class="tagline">Best Baby Car Seat Reviews</p>

I would like to change the classes (h2 and P), but can't figure out how. Is Atahualpa designed like that by default? I didn't mess with the configuration regarding classes (don't even know how you do that, otherwise I wouldn't be asking this here :P) but I think SEO-wise it would make more sense to have the blog title as h1...

juggledad Oct 20, 2011 04:44 AM

For SEO purposes, Atahualpa makes the blog title an H1 on a multi post page and an H2 on a single post page or a 'page' page. In the second case the post title or 'page' title becomes the H1.

If you want to make the tagline a H2, you will have to edit the code in bfa_header_config.php - note you will have to change it every time you upgrade. You could make the font bigger by using a CSS like
HTML Code:

p.tagline {font-size: 48px;}
If you decide to change the code, note there are two places that the tagline can show up - once as part of the logo (if you use the %logo option) and the second if you overlay the tagline over the header image - so you should change both locations in the code.

acalem Oct 20, 2011 04:58 AM

Thanks for this explanation. In fact, I am using only 'page' pages on my website and no posts at all. That seems to explain the theme's behavior.

So is there a way to change the blog title class to h1 in this case or must I create all my content on post pages for this to work?

juggledad Oct 20, 2011 05:22 AM

see ATO->Configure SEO->Make Post/Page Titles H1?

acalem Oct 20, 2011 05:44 AM

Yes, I had that already configured to h1. But I am looking for a way to change the BLOG title to h1 (when using 'page' pages, like you said), not the page titles.

Thanks

juggledad Oct 20, 2011 06:26 AM

you need to set 'Make Post/Page Titles H1?' to 'NO'

acalem Oct 20, 2011 03:27 PM

Ok, thank you very much. Atahalpa has so many configuration options, that you can easily overlook something :)

(Topic can be closed)

juggledad Oct 20, 2011 03:44 PM

that is why it is a good idea to play with the options so you will learn


All times are GMT -6. The time now is 04:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.