![]() |
![]() |
![]() |
|
|||||||
| User interface Discuss eSyndiCat templates here. All the questions regarding eSyndiCat [FREE] Front end |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Googler
Join Date: Jun 2006
Location: Everywhere
Posts: 68
![]() |
Hello,
I want to add an image (bullet or arrow) in front of categories? How do i do this. I have seen many directories doing that. I am using colorburst template. Thank you. Last edited by ebionet; 07-22-2006 at 02:29 PM. |
|
|
|
|
|
#2 |
|
Hi Ebionet --
Open your css and add your image to the background (as in mine it is bg.gif). Not sure if the div cat looks the same in colorburts. Code:
div.categories div.categ
{
padding-left: 20px;
line-height: 22px;
background-image: url("../img/bg.gif");
background-position: left;
background-repeat: no-repeat;
margin-left: 5px;
}
__________________
Rainbow Bridge |
|
|
|
|
|
|
#3 | |
|
Googler
Join Date: Jun 2006
Location: Everywhere
Posts: 68
![]() |
Quote:
Thanks for help, Actually I mean to say that I want category list with an image not background. |
|
|
|
|
|
|
#4 | |
|
Quote:
-- the little icons next to the category are the bg.gif (well the name is different in this directory)http://www.findtoplinks.com
__________________
Rainbow Bridge Last edited by sdawkins; 07-22-2006 at 02:43 PM. |
||
|
|
|
|
|
#5 |
|
Join Date: Sep 2005
Posts: 1,421
![]() |
sdawkins is right. This is a well-known trick: you just put an image as a background, left align it and add some spacing (by padding-left property) so that the text doesn't overlap the icon.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|