Support » Fixing WordPress » Monthly archive layout issue

  • 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:
    And here is how archive by month is displayed:

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

    Thank you in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The .date class in your css is overriding the body class.

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

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

    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.

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

    Thank you again vtxyzzy 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Monthly archive layout issue’ is closed to new replies.