Archived topic
Mobile view question
5 replies · Started by Anonymous on August 4, 2016
I want to remove right side bar for mobile view. How do I do through custom css
You could do something like this:
@media (max-width: 768px) {
#right-sidebar {
display: none;
}
}
It is not working. It says syntax error when added to my custom css
Try adding it using this method: https://generatepress.com/knowledgebase/adding-css/
Hope it works!
I do not want right sidebar and its content on mobile view. I want full width content instead. How do I do it.
I want to embed menu in the header and save space in mobile view. How can I do it.
I want Google ad to be displayed on the header and next to the post in mobile view. How to do it.
sangam
1. The code Leo gave you will remove the right sidebar on mobile.
2. The best way is using our Mobile Header feature in the Menu Plus add-on.
3. Maybe a plugin like this will help: https://en-ca.wordpress.org/plugins/ad-inserter/