View Full Version : Absolute / Non-Scaling Sides
davidhso
10-26-2017, 03:57 AM
Hello,
I'm wondering how to make my forum not change in width if I resize my browser window. Would someone let me know? Thank you.
RichieBoy67
10-26-2017, 10:11 AM
Go under global in stylevars and change the doc width. I am not sure why you would want it to not scale but you can put a size in there you want. I have mine set to auto though because scaling is good.
TheLastSuperman
10-27-2017, 09:53 PM
Responsive is the way to go if possible, otherwise set it in % values so it scales accordingly. You may have a good reason for wanting a set "fixed" width however I would not limit your users that way i.e. have your forum style completed using a fixed width BUT then copy it (or create a child style) so your members have a second option and set the new style to % values ;).
^ That way you're not limiting your members, if you have no mobile style installed then they load the site with tons of extra bandwidth being eaten up from their mobile data plan, if you have a mobile style installed then you can still get by with a fixed width as you have an alternative less data usage friendly version.
davidhso
12-10-2017, 03:46 AM
thanks for the replies. the reason i want absolute margins is because of my image via header. I'm not sure of how to scale the image thus i wanted the fixed margins. is there a way to scale the image too?
MarkFL
12-10-2017, 03:55 AM
Can you post a link to your site?
davidhso
12-10-2017, 04:08 AM
<a href="http://www.kiastingers.com/forum/" target="_blank">http://www.kiastingers.com/forum/</a>
In Omnibus
12-10-2017, 04:38 AM
http://www.kiastingers.com/forum/
Whatever changes you have made have caused the wrapper to be off-center.
MarkFL
12-10-2017, 04:40 AM
Okay, remove the following CSS from the body element:
width: 1276px;
And add to your "additional.css" template:
.logo-image img {
width: 100%;
height: auto;
}
You're still going to get the "toplinks" element laying over the image though without some additional CSS. :)
Mattwhf
12-17-2017, 02:09 AM
Responsive is the way to go if possible, otherwise set it in % values so it scales accordingly. You may have a good reason for wanting a set "fixed" width however I would not limit your users that way i.e. have your forum style completed using a fixed width BUT then copy it (or create a child style) so your members have a second option and set the new style to % values ;).
^ That way you're not limiting your members, if you have no mobile style installed then they load the site with tons of extra bandwidth being eaten up from their mobile data plan, if you have a mobile style installed then you can still get by with a fixed width as you have an alternative less data usage friendly version.
I agree with @TheLastSuperman.
Hello,
I'm wondering how to make my forum not change in width if I resize my browser window. Would someone let me know? Thank you.
You can follow the guide as RichieBoy67 mentioned, beside mobile style you should make your forum theme as responsive style, that will help you have a fix style on desktop while still scaling it as well on mobile devices.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.