Trouble Hiding Vantage Sidebar on mobile with CSS
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;
}
}This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Jordan,
Please try replacing the CSS you mentioned in your post with the following CSS:
@media(max-width: 780px) { #secondary { display: none; } }How does that look?
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.