Home › Forums › Gillion Theme › How to change site width
Home › Forums › Gillion Theme › How to change site width
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%; } }
This is good! 🙂
You are most welcome here 🙂