WordPress.org

Ready to get started?Download WordPress

Forums

Fixed PERFECT center (10 posts)

  1. Tokyo_Dandy
    Member
    Posted 2 years ago #

    Hello. I've been running my site of wordpress for 3 years and no matter what I do I can't fix the blog perfect, no adjustable center. I just want it to sit in the middle fo the screen! Whatever I do it messes up the whole thing. If anyone has any advice, the address is http://www.tokyodandy.com

  2. CSSgirl
    Member
    Posted 2 years ago #

    This is an issue you will have to fix in the CSS.

    You will need a container div around the main elements of the site like so:

    <div id="container">
    Your Site's Code
    </div>

    And in the CSS :

    #container {
    width:XXXXpx;
    margin:0 auto;
    }

    Where the XXXXpx needs to be the total width of your site. See http://www.w3schools.com/css/css_align.asp for more information.

  3. Tokyo_Dandy
    Member
    Posted 2 years ago #

    Than you so much for your response, going to try that right now! x

  4. Tokyo_Dandy
    Member
    Posted 2 years ago #

    Still haven't resolved this issue, whatever i do the side bar is adjustable and the text follows with it!

  5. mr49online
    Member
    Posted 2 years ago #

    Hi, Tokyo_Dandy!!!!

    I just checked your site, the issue you are mentioning above, i guess it seems okay, means images are center aligned.

    moreover lalindsey, gives the solution it should work, if you want to centralized your site content.

    Please, point out the area where you are facing issue now, and what you want to do with that???? As, after having a look on your site, there are lot of things which i guess, needs bit modification like, footer text color, search bar adjustment.... etc...

    One thing more...
    The recommended approach to do any sort of modification in any wordpress theme is to create its Child Theme.

    For quick example to create a child theme, please click here.

  6. Tokyo_Dandy
    Member
    Posted 2 years ago #

    Hello, thanks for your response.

    Basically the left sidebar is stuck left, and the right side bar moves with the size of the screen taking the txt with it. I want everything to be fixed in the center of the screen.

  7. mr49online
    Member
    Posted 2 years ago #

    now your site looks good with black background.. :) i guess you are currently working on it.

    Ok, let me send you the example in a short while.

  8. mr49online
    Member
    Posted 2 years ago #

    After inspecting your site, i come to know that, you are using auto width for some containers div, which is causing some issues.

    Please, follow this example,

    [code moderated - please use the pastebin for any code longer than 10 lines]

    Please, update the width in styles as per your requirement, and don't forget to remove border:1px solid red; from style after testing

    Hope, it will work.

  9. Tokyo_Dandy
    Member
    Posted 2 years ago #

    Thanks! I think a problem is i update it and check it before my comp. has registered the change too! Going to try those steps in the CSS now, thank you so much.

  10. mr49online
    Member
    Posted 2 years ago #

    you are welcome.... :)

Topic Closed

This topic has been closed to new replies.

About this Topic