News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Can sidebar toggle be set via CSS? (SMF 2.0)

Started by profzelonka, January 19, 2017, 11:57:02 PM

Previous topic - Next topic

profzelonka

I have a responsive theme. Desktop users should have the menus toggled to sidebar, while the mobile (small screens) should have it set to drop-down menus. The reason for this being that each user has to toggle back and forth every time they visit the site, switching between mobile and desktop.

I currently have mobile settings set thru CSS: (But any solution would be great!)
@media screen and (max-width: 640px)
{
  stuff
}

Arantor

The menu system needs a complete rewrite to support what you're talking about because the markup is physically different between the two.

Though in 2.1, it's dropdowns only, the sidebar was removed.


Advertisement: