The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Absolute / Non-Scaling Sides
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. |
#2
|
||||
|
||||
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.
|
#3
|
||||
|
||||
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. |
2 благодарности(ей) от: | ||
Mattwhf, RichieBoy67 |
#4
|
|||
|
|||
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?
|
#5
|
||||
|
||||
Can you post a link to your site?
|
#6
|
|||
|
|||
<a href="http://www.kiastingers.com/forum/" target="_blank">http://www.kiastingers.com/forum/</a>
|
#7
|
||||
|
||||
Quote:
|
#8
|
||||
|
||||
Okay, remove the following CSS from the body element:
HTML Code:
width: 1276px; HTML Code:
.logo-image img { width: 100%; height: auto; } |
#9
|
|||
|
|||
Quote:
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|