Hello,
what is the easiest way to change the site width to, for example, 970px?
Best,
Igor
Hi Igor,
I hope you are well today and thank you for your question.
You can change it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
@media (min-width: 1250px){
#page-container .container {
max-width: 970px!important;
width: 970px!important;
}
}
Best regards,
Shufflehound team
But it doesn’t keep the sidebar width to 300px?
Solution for this topic
To achieve that instead of above CSS code please try using below custom CSS code.
@media (min-width: 1250px){
#page-container .container {
max-width: 970px!important;
width: 970px!important;
}
div#content.content-with-sidebar-right {
width: 69%;
}
#sidebar.sidebar-right{
width: 31%;
}
}You are most welcome here 🙂
Popular choice
Professional Developers At Your Fingertips!
If you need services beyond standard support, we've got your back!
Services we offer:
Graphic work / visualizations Full WordPress development and design
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.