Featured Carousel
I saw alot of people asking how to add a ribbon to the featured ads carousel so I decided to make this tutorial. I managed by trial and error and I would like to make other beginners life easier. I am using version 3.1.4.
Here is a screenshot of how it looks like.
featured.jpg
1. Go into style.css and enter this code:
PHP Code:
.featured_ribbon {background:transparent url(http://www.maltalisting.ws/cpimg/featured_ribbon_60.png) no-repeat ;display:block; float: left;height:80px; margin:-5px 0 0 -5px ; padding:0; position: absolute; width:80px; z-index:99;}
2. Then go to Featured.php and find
<!-- featured listings -->
<div class="shadowblock_out"> aproximatley in line 32 and under neat enter this code:
PHP Code:
<div class="featured_ribbon"></div>
and your'e done
The size of the image has to be 80px X 80px but if you want it bigger or smaller you can change the dimensions from the css.
Enjoy!!!