• Resolved midori

    (@midori)


    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: https://www.doctor-who.fr/ (all right)
    And: https://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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    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;

    i.e.

    #wrapper {
    	margin-top: 10px; margin-left: auto; margin-right:auto; width: 880px;
    }
    Thread Starter midori

    (@midori)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Weird spacing bug except on main page.’ is closed to new replies.