Support » Themes and Templates » Margin / Padding Problem ?

  • Resolved Seaborn


    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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    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?

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

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

    Fixed with a couple margin and float touch ups.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Margin / Padding Problem ?’ is closed to new replies.