Archived topic
how can hidden Widget of right sidebar in Mobile
9 replies · Started by Immi on July 11, 2018
Hello, Sir
i am Using one widgets in right sidebar. but I want it only for Desktop.,when i switch on mobile device right sidebar widget showing above footer. how Can I hidden widget there.
I tried with this CSS code Below but its not working for me
@media (max-width: 768px) {
.widget .sidebar {
display: none;
}
}
Hi there,
Try this instead:
@media (max-width: 768px) {
.sidebar .widget {
display: none;
}
}
i have found this support topic this is also not working
I'm not seeing the CSS being added.
please have a look
**
You are missing a closing bracket } at line #2.
please Can You Provide me with proper CSS
My CSS is correct.
The problem is in your existing CSS. It's missing a closing bracket } in line #2 as I can see in your screenshot above and it's stopping the CSS below that line from being executed.
You can always check here: https://jigsaw.w3.org/css-validator/
Thank You very much for the very fast support. i appreciate your help
great theme and best support team. 😊
No problem!