Sidebar Width on Mobile
-
I have used Custom CSS to make my two column width work okay on my desktop PC but on mobile devices the sidebar is also shrunk to just 30% of the screen width which makes it useless.
I have no doubt screwed up on the @media screen side of things so can somebody modify this so that the sidebar shows full width under the content on a mobile ?
Current CSS >>>>>
.wrap {
/* margin-left: auto; */
/* margin-right: auto; */
max-width: 100%;
/* padding-left: 2em; */
/* padding-right: 2em; */
}@media screen and (min-width: 48em) {
.wrap {
max-width: 100%;
/* padding-left: 3em; */
/* padding-right: 3em; */
}
}.page.page-one-column:not(.twentyseventeen-front-page) #primary {
/*margin-left: auto;*/
/*margin-right: auto;*/
max-width: 100%;
}@media screen and (min-width: 30em) {
.page-one-column .panel-content .wrap
{
max-width: 100%;
}
}.has-sidebar #secondary {
width: 30% !important;
}
- The topic ‘Sidebar Width on Mobile’ is closed to new replies.