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

XF 1.2 How do I set a fixed width?

Discussion in 'Styling and Customization Questions' started by KidCactus, Jul 31, 2013.

  1. KidCactus

    KidCactus Member

    Is this expected behavior? I disable the Responsive Design, and set the Non-Responsive Minimum Width to 940px, but it rescales the page upwards anyway. I want a static forum width, otherwise it screws up my header.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    What do you mean "rescales the page upwards"?

    If you want to limit the maximum width you will need to set that in the page width controller.
  3. KidCactus

    KidCactus Member

    Thanks, got it.
  4. Francesco V.

    Francesco V. Active Member

    Sorry maybe i'm experiencing the same issue. On my custom style i set up a min width into the style propoerty @pagewidth in the following way:

    width: 990px;
    margin: auto;

    Responsive design do not work on custom style. Maybe issue is the fixed width ?
  5. Jeremy

    Jeremy Well-Known Member

    Yes. You should set a max-width to allow it to shrink.
    Francesco V. likes this.
  6. Francesco V.

    Francesco V. Active Member

    Thanks it worked but when i click on Forum link (forum list) it doesn't work. It seems the width is set to the upper big banner width (leaderboard 728x). Then i refresh page and it resize properly. It seems this happens only on the forum list pages.

Share This Page