rosal Active member Jan 12, 2017 #1 How can i put my forum like the xenforo style: -- Fixed Width Style I like the center forum, but in the Page Width Controller i dont know what is the right values. Code: _width: 976px; _margin: 0 auto; box-sizing: border-box; Best Regards
How can i put my forum like the xenforo style: -- Fixed Width Style I like the center forum, but in the Page Width Controller i dont know what is the right values. Code: _width: 976px; _margin: 0 auto; box-sizing: border-box; Best Regards
Optic Well-known member Jan 12, 2017 #2 Hi @rosal there should be a width box just above that Miscellaneous section you quoted, just put in your pixel width inside the width box. Upvote 0 Downvote
Hi @rosal there should be a width box just above that Miscellaneous section you quoted, just put in your pixel width inside the width box.
rosal Active member Jan 12, 2017 #3 Optic said: Hi @rosal there should be a width box just above that Miscellaneous section you quoted, just put in your pixel width inside the width box. Click to expand... But what values xenforo.com style: -- Fixed Width Style is using? Upvote 0 Downvote
Optic said: Hi @rosal there should be a width box just above that Miscellaneous section you quoted, just put in your pixel width inside the width box. Click to expand... But what values xenforo.com style: -- Fixed Width Style is using?
Optic Well-known member Jan 12, 2017 #4 Looks like 1100px: Edit: also yes, best to use max-width to keep it responsive. Upvote 0 Downvote
rosal Active member Jan 12, 2017 #5 Optic that worked, but its adjusted to the left, how to center like here? Upvote 0 Downvote
Optic Well-known member Jan 12, 2017 #7 Hi @rosal, type in auto for Margin left and Margin right. Upvote 0 Downvote
rosal Active member Jan 12, 2017 #9 In desktop its ok, but in mobile devices this break all layout So the xenforo.com its using another values. Upvote 0 Downvote
In desktop its ok, but in mobile devices this break all layout So the xenforo.com its using another values.
P Paul B XenForo moderator Staff member Jan 12, 2017 #10 Point 1 of the FAQ explains how to get a fixed/max-width layout: https://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181037 To ensure it works with all screen sizes, use max-width and enable responsiveness: https://xenforo.com/community/resources/responsive-design.2193/ Upvote 0 Downvote
Point 1 of the FAQ explains how to get a fixed/max-width layout: https://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181037 To ensure it works with all screen sizes, use max-width and enable responsiveness: https://xenforo.com/community/resources/responsive-design.2193/
rosal Active member Jan 12, 2017 #11 Ok i changed for this: Code: max-width: 976px; _margin: 0 auto; box-sizing: border-box; And auto for Margin left and Margin right, and now its working all ok, i have to do more anything? Upvote 0 Downvote
Ok i changed for this: Code: max-width: 976px; _margin: 0 auto; box-sizing: border-box; And auto for Margin left and Margin right, and now its working all ok, i have to do more anything?
P Paul B XenForo moderator Staff member Jan 12, 2017 #12 Remove the _ from the margin declaration: Code: max-width: 976px; margin: 0 auto; box-sizing: border-box; Upvote 0 Downvote
Remove the _ from the margin declaration: Code: max-width: 976px; margin: 0 auto; box-sizing: border-box;
rosal Active member Jan 12, 2017 #13 Ok, now i understand the _ is like value that is not in using, i have changed all values to default the right and left and only change the Miscellaneous box field to this Code: max-width: 1100px; margin: 0 auto; box-sizing: border-box; And all working ok, thanks for all Upvote 0 Downvote
Ok, now i understand the _ is like value that is not in using, i have changed all values to default the right and left and only change the Miscellaneous box field to this Code: max-width: 1100px; margin: 0 auto; box-sizing: border-box; And all working ok, thanks for all