Results 1 to 6 of 6

Thread: Centering a WordPress layout

  1. #1
    Aquarezz's Avatar
    Aquarezz is offline Master Net Builder
    Join Date
    Dec 2008
    Location
    Belgium
    Posts
    3,852
    Blog Entries
    4
    Thanks
    683
    Thanked 591 Times in 463 Posts

    Question Centering a WordPress layout

    Hello,
    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 SceneBlog.org 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
    Oranges's Avatar
    Oranges is offline Net Builder
    Join Date
    Jan 2009
    Location
    Netbuilders
    Posts
    251
    Blog Entries
    1
    Thanks
    131
    Thanked 23 Times in 20 Posts
    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
    Aquarezz's Avatar
    Aquarezz is offline Master Net Builder
    Join Date
    Dec 2008
    Location
    Belgium
    Posts
    3,852
    Blog Entries
    4
    Thanks
    683
    Thanked 591 Times in 463 Posts
    Currently a Dutch guy Quinten, if he can't help, I'll upload my .css file
    |Nico Lawsons

  4. #4
    Oranges's Avatar
    Oranges is offline Net Builder
    Join Date
    Jan 2009
    Location
    Netbuilders
    Posts
    251
    Blog Entries
    1
    Thanks
    131
    Thanked 23 Times in 20 Posts
    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:-

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

  5. #5
    Shenron's Avatar
    Shenron is offline Administrator
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    1,900
    Blog Entries
    2
    Thanks
    561
    Thanked 548 Times in 368 Posts
    CSS file is here:
    http://babescast.com/wp-content/them...m-03/style.css



    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
    Aquarezz's Avatar
    Aquarezz is offline Master Net Builder
    Join Date
    Dec 2008
    Location
    Belgium
    Posts
    3,852
    Blog Entries
    4
    Thanks
    683
    Thanked 591 Times in 463 Posts
    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

  7. Thanked by:

    Oranges (29 June, 2009)

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, 18:29 PM

Bookmarks

Posting Permissions

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