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

XF 1.2 Compact design

Discussion in 'Styling and Customization Questions' started by Rusty, Sep 19, 2013.

  1. Rusty

    Rusty New Member

    Hi all,

    First let me say I love this software!
    Second I am a total noob when it comes to this stuff.

    I have a question about it though, I made site compact with the margin percents under page width controllers but when I view it from my cell phone in landscape mode it looks really messed up. Attached is a screenshot. I would like the forums to stretch all the way to the edges of the screen when viewing on a mobile device in landscape mode. Any help will be greatly appreciated!
     

    Attached Files:

  2. Brogan

    Brogan XenForo Moderator Staff Member

    What have you set for the left and right margin?
    You may need to reduce or remove it.
     
  3. Rusty

    Rusty New Member

    Hi Brogan,

    I have it set at 18%, it's strange because when I view another Xenforo forum http://admin-talk.com/ it's even more compact than mine on my desktop but my mobile phone it looks fine.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. Rusty

    Rusty New Member

    Looks great, your forums stretch all the way to the sides of the screen.

    How do I remove the margins but keep it the forum compact like your site?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Try this:
    upload_2013-9-19_21-19-22.png
     
  7. Rusty

    Rusty New Member

    Okay that worked but now the site is not centered. It is moved all the way to the left on the desktop.

    Nevermind Brogan I found it! Had to delete the _ before margin. Thank you very much for you help!
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    The margin: 0 auto; should center it.
    You may have other settings elsewhere which are overriding it.

    Edit: I just checked and it's centered for me.
     

Share This Page