XF 1.2 XenOverlay Class

Warchamp7

Active member
When you open say, a member card, the resulting XenOverlay div it creates has the classes .XenOverlay and .memberCard

If I'm modifying something to open in a XenOverlay, how do I go about having a class get added to the XenOverlay div itself like that?
 
You define it in your template. You can see an example in language_chooser:
Code:
<div class="section" data-overlayClass="chooserOverlay">
 
You define it in your template. You can see an example in language_chooser:
Code:
<div class="section" data-overlayClass="chooserOverlay">

Awesome, thanks.

Is there a graceful way to prevent the default inline styles from being applied? Or do I simply have to use !important to override it?
 
Top Bottom