kristel_ttm
Member
Posted 1 year 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.
The .date class in your css is overriding the body class.
kristel_ttm
Member
Posted 1 year 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;}
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.
kristel_ttm
Member
Posted 1 year ago #
Thanks to your tips I could solve this !
Topic can be closed.
kristel_ttm
Member
Posted 1 year ago #
Thank you again vtxyzzy :)