Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Sep 2013, 15:37
clayt101's Avatar
clayt101 clayt101 is offline
 
Join Date: Jul 2012
Layout Option: Wide and Fixed

Probably a stupid question, but how do I get the option of wide vs. fixed layouts on my forum like this site has (lower left corner)?
Thanks
Reply With Quote
  #2  
Old 26 Sep 2013, 16:09
JohnD5000 JohnD5000 is offline
 
Join Date: Aug 2012
I have same problem, and it is not a stupid question.
Reply With Quote
  #3  
Old 27 Sep 2013, 06:04
tbworld tbworld is offline
 
Join Date: Oct 2008
No stupid questions here, in the IT world we learn continuously.

This is not a difficult thing to do, but unfortunately it does have to be tailored to a persons unique style.

Give a link to your boards so I can see your style and CSS and I will see what I can do to help you out.
Reply With Quote
  #4  
Old 27 Sep 2013, 10:16
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
To make a fixed version of your style, hat you could do is this. ACP --> Style & Templates --> Style Manager --> Download / Upload Styles

In that screen, in the Download Block, choose your style, it the field, Title, add the word, Fixed to the end. For the select option, Options, chose, Get customizations made in this style and all parent styles. Then click on Download.

While still on that screen, in the block Import Style XML File, click on Browse, find your style you just downloaded, In the field, Parent Style, choose the style name you just downloaded / copied from, then click on Import.

Now you will have a new style on your site called XXXX Fixed. So go to the, ACP --> Style & Templates --> Style Manager --> Find the style you just imported, and select Style Variable Editor.

In that screen scroll down till you see the group called, Global. In that group, find the stylevar, doc_margin, and set the Use the 'top' value for all sides to No, and the Left & Right fields to auto, then click on Save. In that same group, edit the stylevar, doc_maxWidth, and change Units to px and change Size to 980, then click on Save. Yo can always change the 980 later to a different size it you don't like the fit.

So now you have a copy of your style that is selectable by your members, in the style chooser dropdown, and is a copy of your fluid style, and best of all, the way I showed you to do it is that any template changes you make in the style you copied from, will automatically show in this style.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #5  
Old 27 Sep 2013, 12:53
tbworld tbworld is offline
 
Join Date: Oct 2008
Interesting @Ozzy42, I had a entirely different approach prepared. Unfortunately, I tend to go around the stylevar system -- I am sure this is due to the lack of "Mods" I have written for the vbulletin.org public.

For the record I find the stylevar system fairly efficient and I like the fact that you educate them to this approach. My design team decided to use LESS and override the stylevar system due to the very early days of vbulletin 4: So most of my advice / patches tends to be in CSS and Javascript.
Reply With Quote
  #6  
Old 27 Sep 2013, 20:35
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Yeah back in the vB3 days going the css was was the easiest, but with vb4, the stylevar system is so advanced, it actually helps.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #7  
Old 28 Sep 2013, 02:34
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Good stuff here you guys, I use both ways actually for different things ...
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:12.

Layout Options | Width: Wide Color: