- This topic has 2 replies, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The topic ‘Changing the Width of the Sidebar’ is closed to new replies.
Tagged: sidebar
Hello,
I would like to change the width of the sidebar and main content area. I want to decrease the with of the sidebar and increase the relative size of the main content area. How can this be done?
Hello
Add this in Appearance > Customize > Additional CSS
@media screen and (min-width: 768px){
#primary{
width: 66%;
}
#secondary{
width: 31%;
}
}
change 66% and 31% to the widths you need.
you will notice that 66 + 31 = 97. This allows a 3% spacing between the main content and the sidebar.
Thank you. It worked! 🙂