Home Forums Weaver Xtreme Theme Hide Sidebar Widgets on Mobile Reply To: Hide Sidebar Widgets on Mobile

#70697
scrambler
Moderator

I am not following.

First if you want to hide both widget area and use the @media (which is a bit faster to activate), you can put it all under a single rule

@media (min-width: 767px) {
#secondary-widget-area {display:none;}
#primary-widget-area {display:none;}
}

” I still don’t know how to hide if it’s a particular post.”

Are you trying to hide it on a specific Single post page, all single posts pages, a blog page?

Be more specific and eventually give a link to the page(s) in question

For a Specific page and using @media it would look like

@media (min-width: 767px) {
.page-id-xxx #secondary-widget-area {display:none;}

}