XF 1.1 Override User Style Choice for Forum Home

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?
 
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.
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
Code:
<xen:if is="in_array({$contentTemplate}, array('forum_list', 'category_view'))">
<xen:require css="dba_fixed.css" />
</xen:if>

and put this in the dba_fixed.css template
Code:
.pageWidth {
width: 990px !important;
margin: 0 auto !important;
}
 
Back
Top Bottom