1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 How to edit width of main container?

Discussion in 'Styling and Customization Questions' started by Jack V, Apr 21, 2015.

  1. Jack V

    Jack V Member

    Hello, my site is www.venture-mc.net (click on "news" or "forums" to get to the XenForo section)

    I'm not sure if I have used the correct terminology up above, but I will use pictures to describe what I mean.

    I'd like to edit the width of the block horribly circled here:


    And make it into something like this: (Just an example I used to signify the thinner forum nodes block.)


    Is there some max value I set or something I can set in templates? If so please be specific as to where to add this!

    I'd appreciate any help or comments!
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Do you mean the overall page width?

    If so, Style Properties -> General -> Page Width Controller.

    Enter something like this in the Miscellaneous field:
  3. Jack V

    Jack V Member

    Thanks Brogan!! I'll try it
  4. Jack V

    Jack V Member

    I realised you have to enter a value for the width in the box next to the miscellaneous CSS box.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    That's not correct.

    You can enter the width as shown.
  6. Jack V

    Jack V Member

    It did not work doing it the way you showed. Could this be due to an installed theme?
  7. Brogan

    Brogan XenForo Moderator Staff Member


    You can ask the designer for further assistance.
  8. Morgain

    Morgain Well-Known Member

    I have used the code shown and the width is now controlled.
    But the whole forum + sidebar has now shifted to the left. There is some space on the left, but not much.
    How to centre it?

Share This Page