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

XF 1.2 Fixed Width

Discussion in 'Styling and Customization Questions' started by cmeinck, Jul 13, 2013.

  1. cmeinck

    cmeinck Well-Known Member

    If I were to create a child forum that is fixed, what changes in 1.2 need to be made. I've been messing around with the following, but not completely sure which are necessary and if there is something else I'm missing.
    • Disable Style > Responsive
    • Page Width Controller > ?
    • General > HTML?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Just uncheck the responsive behaviour and set the width in the page width controller.
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    If you only want the child forum to be fixed-width, non-responsive, in addition to what Brogan has said, you need to set your new style to override the user's choice in the specific forums settings.
  4. cmeinck

    cmeinck Well-Known Member

    Thank you gentlemen. Exactly what I'm looking for..
  5. Brogan

    Brogan XenForo Moderator Staff Member

    I'm not sure what you're trying to do exactly but you can disable responsive for certain pages using:

    <xen:container var="$noResponsive">1</xen:container>
    You could couple that with another xen:if for specific node IDs.
    Jeremy likes this.
  6. cmeinck

    cmeinck Well-Known Member

    My concern with responsive is the handling of ads (necessary evil). My default template is going to be the responsive template, with Adsense suggested code for different sizes. I'll use some sort of redirect for desktop browsers to a fixed width (child of main template) Those ads will remain the same ads from Doubleclick. This is a mash up of the company that runs my advertising and adsense. DFP is incredibly confusing, without having responsive as another concern. I don't think it's possible based on the 'competing' ads.

Share This Page