Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Display class sidebar left or right or full based on sidebar selection

Open webangon opened this issue 12 years ago • 2 comments

Hi again The sidebar selection is awesome.I have a new idea if I could add css class to say<div id="primary" class="content-area"> an extra class "left" that is<div id="primary" class="content-area left"> based on sidebar selection.

Thanks

webangon avatar Nov 01 '14 19:11 webangon

hi, does not this function "fw_ext_sidebars_get_current_position" get you which sidebar is active ?

for example:

$layout = fw_ext_sidebars_get_current_position();

right

ghost avatar Nov 01 '14 23:11 ghost

Yes .Thanks

webangon avatar Nov 02 '14 18:11 webangon