ceitinn
Member
Posted 2 years ago #
I've had a look around but not found a solution.
I run iNove theme on the WP v3.1.1 and I would like to adjust the theme so it is narrower. I changed the size under the content tag in the style.css but only the header and footer changes size. The main page stays the same.
I only have pages in the theme no posts as I am running it as a website not a blog.
If anyone has any suggestions it would be very much appreciated.
Graham
AdrianApan
Member
Posted 2 years ago #
Hi!
In order to accomplish this you must change a few lines in your theme's style.css file.
1. Line 139
#container {}
- enter your desired width value
2. Line 258
#main {}
- this one must be reduced too in order to fit the new container div. This div and the sidebar must sum the value of the reduced portion of the #container div. For example: if the #container is reduced by 50px and the #main by 30px the #sidebar should be reduced by 20px.
3. Line 423
#sidebar {}
- same reason as above
Finally please note that you will have to make some changes to some images too (like img/header_footer.jpg) to fit the new witdh of the site.
Good luck!
ceitinn
Member
Posted 2 years ago #
Thanks for the reply, all worked fine! I am a moron, I completely missed it! :)
Thanks again!