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

XF 1.2 Creating a Fixed Width

Discussion in 'Styling and Customization Questions' started by billybatz9, Feb 19, 2014.

  1. billybatz9

    billybatz9 Active Member

    I want there to be a responsive design for mobile users and tablet users, but I also want there to be a fixed with when being viewed on computers. Can I accomplish this>? (like xenforo forum has)

    Right now I have ...
    width: 1050px;
    margin: 0 auto;

    in the body additional css and it gives me a fixed with on desktop users, but it messes up the responsive design. Is there a way I can make the code to only display that width for desktop users?
  2. Amaury

    Amaury Well-Known Member

  3. billybatz9

    billybatz9 Active Member

    Awesome! thanks so much. I really appreciate you helping me all the time.

    Problem was I had "width: 1050px;" the solution was just adding... "max-width:1050px;
    Amaury likes this.

Share This Page