I'd like to remove padding in forum headers, because I want to fill these with a table. How can I do this without affecting wiki articles?
Printable View
I'd like to remove padding in forum headers, because I want to fill these with a table. How can I do this without affecting wiki articles?
You'll notice that the .vw-content container also has the .fh_content class for forum headers.
Where do I find and edit that?
You don't need to edit it, just use the .fh_content class in your CSS rules. You can add it to the end of the vw-header.css template in Wiki Style Manager.
I do not see vw-header.css in the style manager.
Sorry this template only exists in vBulletin 4. vBulletin 3 didn't need any special CSS rules for forum headers so the template wasn't included. You can also add the code to any site-wide CSS you already have.
Im a little confused. Does the .fh_content class exist in Vaultwiki 3?
If I want to remove/change the padding to 0 and I want the background to be white, then what code should I add to what CSS template?
Should I add it to vw-important.css ?
Ideally you should not modify the CSS templates in vBulletin 3, in case they are changed by an update. Instead we recommend adding any changes to your site's separate CSS, or to the additional CSS box in vBulletin's Style Manager.
The .fh_content class is used on forum headers in VaultWiki 3, but it doesn't have any default configuration for users with vBulletin 3. I can't be sure about this, because it depends on other CSS that's in play, but something like this should work, as long as it loads on the page after VaultWiki's CSS files:
Not sure if the second bit is necessary, but I've included it just in case.Code:.vw-content.fh_content {
padding: 0;
background: #fff;
}
.fh_content .bodyContent {
margin: 0;
padding: 0;
}
I added it to vbulletin style manager > additional CSS. But that has no effect.
I want the forum header in forumdisplay.php?f=174 to be filled with the table and no space between the table and the border of the forum header.
I added it to vbulletin style manager > additional CSS. But that has no effect.
I want the forum header in forumdisplay.php?f=174 to be filled with the table and no space between the table and the border of the forum header.