Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi – I have tried several CSS queries and I cannot get my sidebar to hide on mobile. I am using a site origin editor widget in my sidebar, but I want the entire sidebar to disappear on screens <780 px. The site origin editor widget in sidebar does not allow me to give it a CSS class or I would call out to it directly.
See here: jordandowell.com/workshops
Any thoughts?
I've tried:
@media screen and (max-width: 1140px) { #sidebar { display: none !important; } } @media(min-width: 780px) { #sidebar { display: none; } } @media (min-width: 780px) { .sidebar { display: none; } }
Hi Jordan,
Please try replacing the CSS you mentioned in your post with the following CSS:
How does that look?