Looking at my thematic theme, which is slowly taking shape, there seems to be a lot of white space at the left side/margin. I'm using a 2c-r fixed layout. Which bit of which stylesheet do I change to shift things over to the left?
ThemeShaper Forums » Thematic
margin query
(6 posts)-
Posted 3 years ago #
-
Hi,
just add the following to your child theme's style.css:
.main-aside { width:300px; }Chris
.. and increase the width of the sidebar.Or add:
#content { width:540px; }.. and increase the width of the content.
Chris
Posted 3 years ago # -
Thank you very much for taking time to respond. This has been most helpful.
James
Posted 3 years ago # -
Hi Chris,
Thanks for this info. I am pretty new in CSS. I deleted a sidebar from my Thematic wordpress blog and I wanted to widen my pages and make margins look even on both sides of the screen. Would you be kind enough to guide me through? I tried the
.main-aside {
width:300px;
} on my child theme, however it did not work. Thanks in advance.Posted 2 years ago # -
@Elizabethl
do you mean, you've removed sidebar and do not have/wish to have a sidebar?
if so, you need to target
#container and #contentset the #container and #content to the width of your liking and and then using margin:0 auto;
e.g
#container { width:600px; margin:0 auto; } #content { width:600px; }you dont not have to specify the width of #content as it will fill up available space in #container, but that said, if your css already has a value width for #content, change or delete it. jeez, i ramble.
try the code above and see how you get on. paste in style.css
hope this helps.
Posted 2 years ago # -
@Jonny Janiero, you are a genius!!!
It worked.
Thank you very much for your help! Now, I just have to reorganise my pics and get the site up and running. Thanks a lot! :)Posted 2 years ago #
Topic Closed
This topic has been closed to new replies.