WordPress.org

Ready to get started?Download WordPress

Forums

Monthly archive layout issue (6 posts)

  1. kristel_ttm
    Member
    Posted 3 years ago #

    I am not sure when and how that happen but when I visualize my monthly archive posts (archive category is fine), the layout is aligned left and the background image does not show. I checked the archive.php and loop.php but I can not find the problem.
    Here is how each page looks: http://www.djpromo.nl/wordpress/?cat=5
    And here is how archive by month is displayed: http://www.djpromo.nl/wordpress/?m=201002

    I would be very grateful if someone who encountered the same issue could help me out.

    Thank you in advance.

  2. vtxyzzy
    Member
    Posted 3 years ago #

    The .date class in your css is overriding the body class.

  3. kristel_ttm
    Member
    Posted 3 years ago #

    I am such a rookie. What do you mean by overriding ? Is the position the issue ?

    .date { width: 40px;
    height: 35px;
    margin-top:-0.5em;
    background: #000;
    position: absolute; top: 0px; left: 0px;
    border-radius: 3px; -moz-border-radius: 3px;-webkit-border-radius: 3px;}

  4. vtxyzzy
    Member
    Posted 3 years ago #

    I don't know why, but the body of your page is given the class of date:

    <body class="archive date">

    Date looks to be a class for a single date, not for the whole body. Take out the date class. Use it only for date fields.

  5. kristel_ttm
    Member
    Posted 3 years ago #

    Thanks to your tips I could solve this !
    Topic can be closed.

  6. kristel_ttm
    Member
    Posted 3 years ago #

    Thank you again vtxyzzy :)

Topic Closed

This topic has been closed to new replies.

About this Topic