Ryan Kent
Well-known member
I'd like to be able to selectively modify CSS for a style without having to modify the EXTRA.css within that style. I know that may sound strange. I use the Flexile style for my site. It is the parent, and several color choices are the child styles. I only have updates within the parent style. There are zero template edits, including EXTRA.css within the children. If possible, I'd like to keep it that way.
I am trying to create a conditional based on style. I think I am close but it is not working. Does anyone happen to know the correct conditional for style? The best I could come up with is:
I am trying to create a conditional based on style. I think I am close but it is not working. Does anyone happen to know the correct conditional for style? The best I could come up with is:
Code:
/* Fixed issue in Flexile Brown style where links in messages are difficult to distinguish */
<xen:if is="{$style.style_id}==14">
.messageText a:link {
font-weight: bold; !important;
}
</xen:if>