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

XF 1.3 Center of screen

Discussion in 'XenForo Questions and Support' started by bsdinsight, Jun 27, 2014.

  1. bsdinsight

    bsdinsight Active Member

    I would like to setup my forum in center of screen, and I put in my setup in picture as below. My issues is it fix 150 px once the screen is smaller 800 px (You can see in picture 2 as)

    How to fix it automatic in center of screen?

    Thanks in advance

    forums.png




    Picture 2:
    forums 2.png
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Remove the 150px values from the margin, and in the misc area change _margin: 0 auto; to margin: 0 auto; (remove the underscore).
     
  3. bsdinsight

    bsdinsight Active Member

  4. Chris D

    Chris D XenForo Developer Staff Member

    Have you recently upgraded from XF1.1.x?

    Do you have any outdated templates?
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    Your first screenshot shows that the minimum is 1000px.

    You'll want to change that to max-width: 1000px;
     
  6. bsdinsight

    bsdinsight Active Member

    Okie, I got it - tks for your support
     
    Chris D likes this.

Share This Page