![]() |
Customizing forum style width for all Display resolutions
Hello,
I would like to know how to keep my forum width to left side and add some blocks on right side of my VB homepage. I followed the below code and edited it in my css file. But i cant see the same fixed length on all resolutions. how can i make it same for all resolution desktops/laptops/tablet I made changes using my 24 inches monitor and it looks good. but if i see from any other laptop with digfferent resolutions, my forum blocks are going to left side. how can i make it Even for all resolutions First edit the vbulletin.css template and find this code: Code: margin: {vb:stylevar doc_margin}; change it to Code: margin: auto; ( auto or left or right) Then in Style Variable Editor in Common group find doc_width (Document Width) change Units to PX and Size to XXX (example 800) XXX is your forum width size |
can someone help me out here. Did i posted in wrong forum ?
|
Quote:
|
You have to use percentages, not pixels.
For example a container which contains everything, could have a width of 100%. Inside that container you then have 2 blocks, which could be 80% and 20%. Mark beat me to it. |
I just want to report that this issue was resolved by adding the following CSS selector to the "additional.css" template:
HTML Code:
body, .morbid-box { |
All times are GMT. The time now is 06:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|