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

XF 1.5 100% width inside of main content

toodlez

Active member
#1
So if I have a page set to 1190px width on the main content container..

What CSS would I need if I was to add a widget and wanted it to go 100% page width (1920px for example) inside of the main content container?

Thanks!
 

Brogan

XenForo moderator
Staff member
#2
In general, the easiest way to achieve that is to have the widget outside the div where the width is set to 1190px.
 

Brogan

XenForo moderator
Staff member
#4
The PAGE_CONTAINER template, between these two lines:
Code:
<div id="content" class="{$contentTemplate}">
    <div class="pageWidth">
 

toodlez

Active member
#5
Well this is a widget for a specific widget page, so I would insert the widget code manually into that template in there?