XF 1.3 Differring Sidebar Sizes

JamesBrown

Well-known member
I want to show 300px wide adverts to usergroups 1,2, and 3 in the sidebar (using widgets) So I've made the sidebar 300px wide to accommodate them. However I'm not showing those large adverts to group 4, the subscriber group; but they now have a sidebar that is 300px wide.

Is it possible to fix it so the sidebar stays at 250px for subscribers and widens up to 300px only when usergroups 1,2 and 3 are viewing and the wide adverts in widgets are showing.

I tried putting removing the absolute size and adding max-width: 300px; in the additional CSS box, but the sidebar didn't show up at all, then I tried

min-width: 250px;
max-width: 300px;

That doesn't work either, the sidebar still disappears

Thanks
 
Last edited:
Top Bottom