• 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

billybatz9

Active member
#1
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?
 

billybatz9

Active member
#3
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;