MyBB Community Forums

Full Version: h1, h2 tags in default template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I think the default template should have at least the h1 and h2 tags. Here I post a modification I made to header template to have h1:

Replace <div class="logo"> ... </div> for this:

<div class="logo"><h1><a href="{$mybb->settings['bburl']}"><span><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></span></a></h1></div>
Rather messy way to handle this imo. I don't know how the header tags are read in terms of SEO or w/e, but just adding something like:

<h1>{$mybb->settings['bbname']}</h1>

Then using display:none would be better.
Hidden text is penalized by Google