![]() |
vB 4
1 Attachment(s)
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:
If you did this to your forum, please click MARK AS INSTALLED. Thank you! |
|
Thank you. installed.
|
You just can make a style fixed or fluid that way.
It's good with default style but for some style with images it require also adding value repeat-x for the bg and forumhead etc... |
Quote:
|
didn't work for me, actually after finding your thread after searching around for a simple way to make a fixed width skin for my site using just the new vB4 forum, after trying it on my local-machine I'm not gonna bother using it on my main site, it's horrible, i have been persistently put off by bugs and things not working... still cannot see my profile page, no errors, nothing i did wrong, you wanna start designing and get stuck in but this is just horrid, all those posts slamming vB for it's styles were right, i was really looking forward to producing something for my site but it looks like i'll have to wait a year or two for this to catch up... and while I'm here the default style is awful... well it's ok, but god no... sack it and start over the experiment didn't work
-b6 |
Thanks for the help. Marked as installed.
|
Thank you for this - worked perfectly and prevented me from tearing my hair out!
*Installed* |
Quote:
|
Hi I'm new here and new to VB :) I like the new version 4 !
Installed :) Was trying to find that. However it has given another problem. The text in each thread now aligns left and not 100% width of the text container. Which style would i edit to get that 100% width in the text box? If anyone could point me in the right direction that would be grand! |
Quote:
|
1 Attachment(s)
sure no problem. as you can see, the title isnt subject to the same issue. its like the main body text has been placed in a fixed width or less than 100% table.
so many style vars to search, its driving me nuts! dont suppose anyone has any kind of cheat sheet with screen shots etc indicating the different style vars locations? i might have to make one :) |
Well you can see which style it is by adding this line to your config.php
PHP Code:
and then view the source code of that page in your browser. you should see the template tags. |
thanks ill give that a whirl :)
edit to add: its not this fix causing the issue above, i reset to stock style vars and templating and itt still happens. I have some work to do :) |
installed
|
now installed and fully functional. my error was a 4.01 bug listed here:
http://www.vbulletin.com/forum/showt...post-body-area thanks for your input amjadz4 :D |
Quote:
|
Quote:
ill find my way around vb org soon :D |
Thank you. installed. :up:
|
Installed, thanks alut!!!
|
Omg, someone solved the problem with HiO CleanLight?
https://vborg.vbsupport.ru/showthread.php?t=237772 I cannot fix this skin :( |
Thanks :)
You Rock ! |
Thanks for the tip, installed!
|
4.0.3 made no difference at all. In any browser
|
Worked good but the CMS front page is still forcing left, after it adjusts center midway through the load. It still forces left.
Running 4.0.3. Any idea? |
Thanks, this was frustrating me trying to find how to set overall page width!
|
Can you make a mod where there is a toggle switch in the bottle left to go between a set fixed width and full screen?
|
This worked perfectly, thanks!
|
This worked perfect for my site. www.muscleswithattitude.com. The one thing I did have to do was change the doc_margin to auto for both sides and now im happy and can be. Thanks if you see anything wrong let me know please
|
helped a lot.. thanks!
|
Thank you so much! installed!
|
Modify the settings many times and never pay attention. worked perfectly!
|
thanks how do you centre it after you fix the width up though??
edit: nvm saw the rest of your post, good details! installed |
Very useful! Thanks ;)
|
All times are GMT. The time now is 06:30 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:
|