Zanthor
Member
I have two Styles on my site, a fixed width of 1200px and a fluid layout.
On several of my nodes I have forced a style to remove components I don't want. (Sample) Is there a way from within a style to detect the users selected style? Then I could add this to the width control of the forced style:
On several of my nodes I have forced a style to remove components I don't want. (Sample) Is there a way from within a style to detect the users selected style? Then I could add this to the width control of the forced style:
Code:
<xen:if {style = 'static'}>
max-width: 1000px;
margin: 0 auto;
box-sizing: border-box;
</xen:if>