How to hide Sidebar in Tablet & Mobile View Storefront Theme
-
Hi,
I’ve tried various CSS solutions I have found here and elsewhere to hide the sidebar in Tablet & Mobile view for my site.
I had finally entered CSS that was working but now, after some Storefront, WordPress and/or Woocommerce updates, that CSS is no longer working.
I’m using a WordPress website with the Storefront Theme.
Here is what was working and has since ceased to work:
/* REMOVE SIDEBAR MOBILE VIEW */
@media only screen and (max-width:767px)
{#secondary.widget-area {
display: none;}}The elements are correct when I inspect using developer tools. And I have tried adding !important but it has not worked.
Any suggestions would be very helpful! Thanks.
The page I need help with: [log in to see the link]
- The topic ‘How to hide Sidebar in Tablet & Mobile View Storefront Theme’ is closed to new replies.