MyBB Community Forums

Full Version: really bad h1 / zero mybb
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to cope with really bad h1 / zero mybb?

[Image: Screenshot_140916_09_43_00.png]
You can modify global.css and add code in h1, h2 like this

h1 {
font-size: 15px;
}
h2 {
font-size: 13px;
}

Naturally you will have depending on the forum theme style.

Regards
WallBB
You'll need to change some lines, so first add to global.css:
h1 {
font-size: 13px;
margin: 0;
}

h2 {
font-size: 11px;
margin: 0;


Then go to:
Template Showthread
Find

<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
Replace with
<h1>{$thread['threadprefix']}{$thread['subject']}</h1>

Template forumdisplay_threadlist
find
<strong>{$foruminfo['name']}</strong>
Replace with
<h1>{$foruminfo['name']}</h1>

Template announcement
find
<strong>{$lang->forum_announcement}</strong>
Replace with
<h2>{$lang->forum_announcement}</h2>

Well, that's a start, hope it will help
(09-14-2016, 05:56 AM)BaggerHD Wrote: [ -> ]You'll need to change some lines, so first add to global.css:
h1 {
font-size: 13px;
margin: 0;
}

h2 {
font-size: 11px;
margin: 0;


Then go to:
Template Showthread
Find

<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
Replace with
<h1>{$thread['threadprefix']}{$thread['subject']}</h1>

Template forumdisplay_threadlist
find
<strong>{$foruminfo['name']}</strong>
Replace with
<h1>{$foruminfo['name']}</h1>

Template announcement
find
<strong>{$lang->forum_announcement}</strong>
Replace with
<h2>{$lang->forum_announcement}</h2>

Well, that's a start, hope it will help

not work sir.
Did just look at your page, and yes it did work. If you are going into the game sec, look at the source code, you will have h1 tags.
IF you did want it to show up on index.php well then change in forumbit_depth1_cat and cat2, but then you'll get multiple tags...
thank you sir i hope this work