Back to vBulletin 4.x Template Modifications

vB 4 - Fixed Main Table Width
Mod Version: 1.00, by amjadz4

vB Version: 4.0.2 Rating: (20 votes - 4.90 average) Installs: 144
Released: 30 Dec 2009 Last Update: Never Downloads: 2
Not Supported Auto-Template Re-usable Code Translations  

Okay so some (most - so far) of the vb 4 themes come only with one width i.e 100% which fills up the screen. Like me, many want to match their website and want the width of the main table to be fixed. So how can we adjust the width of the CMS, Blog and Forum all together?

vBulletin 3 had an easy way to do it, under Main CSS of the template. But in vB 4 its a bit different. Follow these steps to adjust the width of your vbulletin.

1. Log into AdminCP
2. Navigate to Styles & Templates > Your style > StyleVars
3. In the search field type in doc_width (under Common).
4. Now set the Units and Size as per your requirement, and Save. (default: auto)

That's it!

Now if at all for some reason your theme is not center aligned after adjusting the width do this:
  • Type doc_margin in the search field.
  • Set Left & Right to auto
Now you have your CMS, Blog and Forum center aligned to the width of your choice!

If you did this to your forum, please click .

Thank you!

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024