Margin / Padding Problem ?
-
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?
- The topic ‘Margin / Padding Problem ?’ is closed to new replies.