WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Margin / Padding Problem ? (7 posts)

  1. Seaborn
    Member
    Posted 7 years ago #

    So, Im trying to edit Dan Masters Beach House theme to fit my needs. I moved the sidebar from the right to the left by doing the following:

    "1. wp-content\themes\default\index.php
    find <?php get_sidebar(); ?>
    move it to the top of the page, right under
    <?php get_header(); ?>

    2. wp-content\themes\default\styles.css
    a) ctrl-F to find "Begin Structure" (it's a comment in grey)
    find .narrowcolumn {etc.}
    --remove "float:left;"
    --change margin tag to this: "margin: 0px 0 0 210px;"

    b) ctrl-F to find "Begin Sidebar" (it's a comment in grey)
    --find #sidebar (first one on top)
    --add "float:left;"
    --change margin-left to 5px "

    It worked fine, but now that im adding additional content to the sidebar I see that it's moving everything past the 1st post down.

    Also, viewing the page in Windows IE pushed all the text right. I havnt really had a chance to try to fix that since i do not regularly have access to windows IE.

    I have been playing around with the padding and margins, I moved the sidebar out to the left and content out to the right but the problem is still there. Im new to PHP and CSS though.

    Anyone out there have any suggestions?

    http://patricksarni.com/blogtest/wordpress/

  2. Samuel B
    moderator
    Posted 7 years ago #

    I see 2 possible problems. You have a missing <li> right before your google stuff starts.
    Also, your top post is just one humongously long sentence without any formatting.

  3. Seaborn
    Member
    Posted 7 years ago #

    I have added 2 different post since and the same problem.
    Whats strange is when I view the site with Windows Firefox the space problem is not there. If you click on and post and view the single post, you will see that after the ad, the content bleeds in the sidebar. Perhaps that's part of the problem?

  4. Samuel B
    moderator
    Posted 7 years ago #

    Just for kicks - edit the RAWvolution post without the wysiwyg editor on.

  5. Seaborn
    Member
    Posted 7 years ago #

    No dice. Something must be wrong with my sidebar if content is bleeding into it though. Any ideas??

  6. Seaborn
    Member
    Posted 7 years ago #

    Fixed with a couple margin and float touch ups.

  7. vkaryl
    Member
    Posted 7 years ago #

    So could you mark this resolved, then? Thanks....

Topic Closed

This topic has been closed to new replies.

About this Topic