Results 1 to 6 of 6

Thread: Centering a WordPress layout

  1. #1

    Question Centering a WordPress layout

    I have a WordPress blog, and I didn't know but for some people there is a lot of space on the right side of the page.

    So I was wondering if somebody would like to center the layout for me?

    You can see the layout being used here BabesCast.Com - Busty Babes! (there are some girl pictures, so NSFW).

    If somebody could help me on this, I'll be giving him or money, or if it's a freebie it would be even better

    Please let me know if you are willing to take this easy job I can't
    |Nico Lawsons

  2. #2
    Can i have a look at your style.css file of this theme, then will be able to tweak it out for you.
    Custom Wordpress Themer
    - Wordpress Portals & themes -

  3. #3
    Currently a Dutch guy Quinten, if he can't help, I'll upload my .css file
    |Nico Lawsons

  4. #4
    Do this edit in your body tag in your style.css file:-
    Right after
    body { [That is first line in CSS file]

    Add this code:-

    text-align: center;

    so body code after edit should be:-

    text-align: center;
    Custom Wordpress Themer
    - Wordpress Portals & themes -

  5. #5
    CSS file is here:

    BTW, try this at you #content

    margin-left: auto ;
    margin-right: auto ;

    My CSS skills suck, so I'm not sure it'll work

  6. #6
    Quinten did it for me, looks much better now!

    And isn't that only centering the text? I needed the hole template centered, which has been done now

    *Thread Closed*
    |Nico Lawsons

Similar Threads

  1. Worse Layout Ever
    By richazey in forum Community Building
    Replies: 2
    Last Post: 5 June, 2010, 22:43 PM
  2. vertical text centering of <input type="text">
    By TryLord in forum Web Design
    Replies: 1
    Last Post: 20 August, 2009, 16:14 PM
  3. New Alexa Layout
    By Mr.Bill in forum Business
    Replies: 8
    Last Post: 14 April, 2009, 10:16 AM
  4. New layout and script
    By epidemic in forum Site Reviews
    Replies: 2
    Last Post: 2 March, 2009, 19:29 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts