(2011-01-16, 04:58 PM)ahmerkhan Wrote: [ -> ]The task has been done but there are two problems.
1) The Forum Navigation has been break from single line to double lines.
Before:
Home > My Category > My Forum
After:
Home > My Category >
My Forum
<template name="nav" version="1406"><![CDATA[<div class="navigation">
{$nav}{$activesep}<h1 class="active">{$navbit['name']}</h1>
</div>]]></template>
2) Forum Sections font size looks bigger now.
Screenshot.
Play around with the h1 element of the CSS. Example:
h1 {
margin: 0; // removes the spacing
font-size: 13px;
font-weight: normal;
}
That, for example, will remove the margin, not make it bold anymore, and lower the font size. You could also do that for h2 and p. By the way, it's vital that these are put in the global.css file.
Thanks. This is the seo modification i badly need for my heading tags.
(2011-01-17, 11:15 AM)querschlaeger Wrote: [ -> ]Hm, using the navigation as a title is a semantic error...
Here are my template mods for adding H1 tags:
Template showthread
Find this:
<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
Replace with:
<h1>{$thread['threadprefix']}{$thread['subject']}</h1>
Template forumdisplay_threadlist
Find this:
<strong>{$foruminfo['name']}</strong>
Replace with:
<h1>{$foruminfo['name']}</h1>
Template announcement
Find this:
<strong>{$lang->forum_announcement}</strong>
Replace with:
<h1>{$lang->forum_announcement}</h1>
Now without modifing the stylesheet all titles are a little bit too big. So you have to add this to your global.css:
h1 {
font-size: 13px;
margin: 0;
}
is there anybody to help me ?!
Im using the h1 with the new 1.8 mybb default theme and I have followed all the instructions above including the global css but the letters remain big so is there any fix?
h1 {
font-size: 13px;
margin: 0;
}
/** Impromptu End */
now it works, Thanks.