sidebar width in mobile phone version
The sidebar is very narrow when viewed on a mobile phone – is there some CSS code that can help with this please. Many thanks.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
2Hi Jane
In Custom CSS you’ve written:
/* width of sidebar */ #primary { width: 65% !important; } #secondary { width: 35% !important; text-align: center; }Rather don’t use !important there.
If you remove !important you should then able to add to your Custom CSS:
@media (max-width: 680px) { #primary { width: 100%; } #secondary { width: 100%; } }Perfect, thank you very much.
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.