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

Fixed Style As Preference and On Any Page (XenPorta)

How to let users set a fixed width for any style and make any fluid page fixed width.

  1. DRE

    DRE Well-Known Member

    8thos submitted a new resource:

    Fixed Style As Preference and On Any Page (XenPorta) (version 1.0) - How to add a fixed style and background on any page.

    Read more about this resource...
     
    Mirovinger likes this.
  2. Jaxel

    Jaxel Well-Known Member

    This is actually how I do it these days:
    Code:
    margin: 0 auto;
    max-width: 990px;
    This way it supports responsive design.
     
    DRE likes this.
  3. DRE

    DRE Well-Known Member

    Do the content margin CSS remain the same too?
     
    Last edited: Feb 23, 2014
  4. Jaxel

    Jaxel Well-Known Member

    I dont use them anymore... but I dont see why you couldn't...

    The code you copied was from FOUR years ago.
     
    DRE likes this.
  5. TheSalt

    TheSalt Active Member

    I love this but it's not resizing on mobile. Is there way to keep the mobile working the same and run this code for desktop use?
     
  6. DRE

    DRE Well-Known Member

    You want it to remain fixed in mobile or not go into responsive view while in mobile?
     

Share This Page