1. 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

Discussion in 'Styling and Customization Questions' started by toodlez, Feb 6, 2016.

  1. toodlez

    toodlez Active Member

    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!
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    In general, the easiest way to achieve that is to have the widget outside the div where the width is set to 1190px.
     
  3. toodlez

    toodlez Active Member

    How would I get the widget outside of the main content div?

    Thanks!
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The PAGE_CONTAINER template, between these two lines:
    Code:
    <div id="content" class="{$contentTemplate}">
        <div class="pageWidth">
     
  5. toodlez

    toodlez Active Member

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

Share This Page