Gif in the latest post
-
I am trying to put a “latest” gif at the bottom of the latest post only. This is the css i am using:
.firstpost {
padding: 10px;
background-image: url(‘image.gif’);
background-repeat: no-repeat;
background-position: right bottom
Here is the php code i am using in index.php:
\<p><div class=”entry firstpost”></div></p>\
If you visit here you will see that the image appears in all posts. Where do i put the code so it appears in only the latest post?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Gif in the latest post’ is closed to new replies.