Align blog centrally, using Neo-Sapien
-
Hi – I am currently using Neo-Sapien and would like to align the entire layout centrally instead of left. Any suggestions appreciated!
-
I have the same problem. I would like to have center-aligned my blog, at least the “main content” area. I have tried hundreds of combinations by customizing my CSS (I paid for the CSS upgrade) but nothing. I tried with “text-align: center;” and other code tags but nothing works. I don’t understand how such a basic feature is so difficult to set !!!!!
My theme is “Shocking Blue Green”.
My blog is:
http://marcosmolina.wordpress.com/
Thanks for any possible help. -
songbytoad,
Add the following rules to your body definition:
margin: auto; border: solid 1px #f00; width: 1000px; clear: both;so it should look like this
body { font-family:Verdana, Arial; font-size:12px; text-align:left; vertical-align:top; color:#ccc; background:#4c5a28; margin: auto; border: solid 1px #f00; width: 1000px; clear: both; }Why am I doing this? because the theme you’re using doesn’t have a ‘wrapper’, thus, we have to manipulate the body tag to make it look the way you want. Do I like this approach? no, but since wp.com members cannot edit a theme’s source code, there’s no other alternative but to do it this way.
Marcos,
To center the content part change the following rule to the definition of your #content selector:
margin:30px auto 3em;So, it should read like this:
#content { width:800px; padding-right:60px; margin:30px auto 3em; }HTH
-
My God, what a quick response and what a wonderful one. It solved my problem lightning fast. Miracle!! Many thanks!!!!! Regards from Spain. Marcos.
-
-
- The topic ‘Align blog centrally, using Neo-Sapien’ is closed to new replies.