No announcement yet.

How to create a "Fixed Style" Template


  • How to create a Fixed Style Template

    I wanted to do a short video tutorial on how to resize the general width of your vBulletin 4 Forum. Many vbulletin 4 themes that have come out are only available in “fluid style,” meaning it takes up the whole computer screen. I want to show you how to quickly make it a “fixed style” that can be resized to your needs.

    To get started, log in to your admin cp and click on “Styles and Templates" > "Style Manager"> and choose the style you want to edit. On the drop down field choose StyleVars.

    In the search field, just type in “doc.”

    Afterwards you should see doc_maxwidth under the “Common” category. Click on it.

    After clicking you’ll see two options, “units” and “size.” The units drop down field is basically a list of formatting rules that correlates to the size field. The size field is where you input the max number size of your style width.

    As an example I will choose “px” which stand for pixels. In the size field, I will input 1050. Click save.

    Before going back to check on your forum, we want to make sure that the style is centered aligned.

    Go back to your stylevar and choose doc_margin.

    On the left and right fields, input auto for both fields and Save.

    Now go back to your forum and see if the width is right for your style. If not, you can go back to the doc_maxwidth stylevars and edit the size to any number you deem perfect for your forum.

    • OrbzGaming
      OrbzGaming commented
      Editing a comment
      Excellent video, thanks.

    • RedHotChili
      RedHotChili commented
      Editing a comment
      This is outdated. doc_maxwidth is now under "Global" category.
      Last edited by RedHotChili; Mon 13th Feb '12, 12:18pm.

    • Zahir Murat Akin
      Zahir Murat Akin commented
      Editing a comment
      Thanks for sharing. Really useful!
    Posting comments is disabled.

About the Author


Jasper Aguila I've worked with the vBulletin software for years. To be involved with the process of delivering the product is a dream come true to me. Find out more about Jasper Aguila

Article Tags


advanced (5) affiliate (1) album (1) android (2) api (29) array (17) beginner (17) blog (4) bloginfo (1) calendar (2) cms (2) custom profile fields (1) forum (3) forums (4) Intermediate (7) iphone (3) mapi (30) methods (10) mobile (34) security (2) style (2) threads (4) tls (1) vb5howto (5) vBulletin (5)

Latest Articles


  • Managing CMS Section and Content
    by Don Kuramura
    Here's a quick Visual Guide on how Manage Sections in the new CMS.

    1. Editing a Section: If you have permissions to manage a Section, as you hover over the Section title, a pencil icon will display.

    After clicking the pencil icon, you will be taken to the Section Edit page. Here's what you will see:

    2. Section Name:
    Enter the Section Name
    3. SEO URL Alias: This is the SEO Friendly URL. By default, if this is blank, the system will automatically copy the section title.
    4. Section Layout: For each section you can define an individual section layout.
    Tue 11th Mar '14, 3:04pm
  • How to Create a New Article
    by Don Kuramura
    Here's a quick visual guide on how to create a new article with the CMS.

    1. Create New Article Button: Navigate to the section you want the article to be published in. Click on the “Create a New Article” button. This will open an article form.

    2. Article Title: In the "Add/Edit Article" screen, enter the title of your article in the “Title” textbox.
    Tue 11th Mar '14, 3:04pm
  • Promoting Articles from the Forums
    by Don Kuramura
    One of the innovative new features on vBulletin 4.0 Publishing Suite is the cross-publishing "Promote to Article" functionality. In the spirit of promoting content discovery, we wanted to create features that will allow content to flow between Forums, Blogs, and Articles. For example, there might be a really popular post in the forums, but unfortunately it is buried inside page 13 of a thread. We will now have an option (if you have permissions) to “promote” a forum (or blog) post as a new artic...
    Tue 11th Mar '14, 3:04pm
  • Welcome to the new CMS. Read me first.
    by Don Kuramura
    Welcome to the new CMS. Here's a quick guide of the different areas of this page.

    1. Section Navigation Widget. This widget allows you to go to different sections. The "plus icon" means that this section has sub-sections. Clicking on the "plus icon" will display the sub-sections. ...
    Tue 11th Mar '14, 3:04pm
  • Recovering a hacked vBulletin Site
    by TheLastSuperman

    Having your site hacked is something no owner wants to experience due to the fact it takes quite a bit of effort to fix, often times requiring payment to a experienced third-party when a owner feels inundated by the sheer amount of work required to troubleshoot and remedy the situation.
    • Site has been defaced - This is the most blatant form of hacking where your sites pages have been replaced with a very disruptive and sometimes rude message from the hacker themselves.
    Tue 12th Jun '12, 2:37am
  • Issues After Upgrading
    by TheLastSuperman
    If your running a completely default forum upgrading is a very simple process. Many sites however run third-party add-ons and even use a custom style therefor when things change between older and newer
    Thu 24th May '12, 1:02pm