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

XF 1.4 Reducing the width of forum

flowerpot132

Formerly mugtree
#1
Our forum is out the box and just like this support one (ie full screen width on PC/Mac).

I want to bring the forum in line with the rest of our site which is isn't full width of the browser. It is more like this width: http://www.axminster.co.uk/

This would mean removing the right hand side of the forum where the profile stuff, and the members online. And giving the forum a new header that is in line with our site.

Is that all ok? I still want the forum to act the same on mobile/tablet though so guess it can detect those screen sizes and still act like out the box.

Thanks
 
#2
Our forum is out the box and just like this support one (ie full screen width on PC/Mac).

I want to bring the forum in line with the rest of our site which is isn't full width of the browser. It is more like this width: http://www.axminster.co.uk/

This would mean removing the right hand side of the forum where the profile stuff, and the members online. And giving the forum a new header that is in line with our site.

Is that all ok? I still want the forum to act the same on mobile/tablet though so guess it can detect those screen sizes and still act like out the box.

Thanks
If I'm understanding correctly, you would just like to reduce the page width of the forums. If so, here is where you should go to achieve this: Admin CP -> Appearance -> Style Properties -> General -> Page Width Controller then try adding this code in:
Code:
width: 960px;
margin: auto;

 

flowerpot132

Formerly mugtree
#5
To retain the responsive design functionality, max-width should be used rather than width.
Ok but can't it just be set to detect when the user is on mobile and then go back to max width or whatever it needs to be responsive on a mobile or ipad browser?