1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Differring Sidebar Sizes

Discussion in 'Styling and Customization Questions' started by JamesBrown, Jul 29, 2014.

  1. JamesBrown

    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

    Last edited: Jul 29, 2014

Share This Page