Ready to get started?Download WordPress


[resolved] Weird spacing bug except on main page. (3 posts)

  1. midori
    Posted 2 years ago #

    I made this from scratch, it corresponds to the previous (not wordpress) theme, and it works fine. Well... on the main page (posts). As soon as you request a page, archive, search, author or category, an enormous space appears between the two (floating) columns.

    Check: http://www.doctor-who.fr/ (all right)
    And: http://www.doctor-who.fr/vide.html (problem)

    Since it uses the same CSS/theme/... I do not understand where the problem is. Anyone has a guess?

    Thank you for your help!

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    the front page has the body class .home which is styled in style.css with a fixed width and also centers the site:

    .home {
    	margin-left: auto; margin-right:auto; width: 880px;

    obviously, any other pages do not have this css body class.

    try to move the styles from the .home styles to the #wrapper styles;


    #wrapper {
    	margin-top: 10px; margin-left: auto; margin-right:auto; width: 880px;
  3. midori
    Posted 2 years ago #

    *facepalm* THANK YOU SO MUCH! I have been looking everywhere except right there. Really, THANK YOU!

Topic Closed

This topic has been closed to new replies.

About this Topic