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

XF 1.1 Override User Style Choice for Forum Home

Discussion in 'XenForo Questions and Support' started by DBA, Sep 6, 2012.

  1. DBA

    DBA Well-Known Member

    How would I go about forcing a certain style to the forum homepage, for all users? Did I miss an option somewhere or will this have to be custom?
    Digital Doctor likes this.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There isn't a direct option for this.

    What about your style do you want to change on the index page? There might be a template condition you can use.
  3. DBA

    DBA Well-Known Member

    Page fixed width for the forum home and category pages.

    Ok here's what I did, hopefully there's a better way. lol

    Added this to the PAGE_CONTAINER template
    <xen:if is="in_array({$contentTemplate}, array('forum_list', 'category_view'))">
    <xen:require css="dba_fixed.css" />
    and put this in the dba_fixed.css template
    .pageWidth {
    width: 990px !important;
    margin: 0 auto !important;
    Jake Bunce likes this.

Share This Page