Adding Image in front of Catrgory - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > User interface

User interface Discuss eSyndiCat templates here. All the questions regarding eSyndiCat [FREE] Front end

Reply
 
Thread Tools Display Modes
Old 07-22-2006   #1
ebionet
Googler
 
Join Date: Jun 2006
Location: Everywhere
Posts: 68
ebionet is on a distinguished road
Default Adding Image in front of Category

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.
ebionet is offline   Reply With Quote
Old 07-22-2006   #2
sdawkins
 
sdawkins's Avatar
 
Join Date: Oct 2005
Posts: 608
sdawkins has disabled reputation
Send a message via AIM to sdawkins Send a message via Yahoo to sdawkins
Default

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
sdawkins is offline   Reply With Quote
Old 07-22-2006   #3
ebionet
Googler
 
Join Date: Jun 2006
Location: Everywhere
Posts: 68
ebionet is on a distinguished road
Default

Quote:
Originally Posted by sdawkins
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;
}

Thanks for help, Actually I mean to say that I want category list with an image not background.
ebionet is offline   Reply With Quote
Old 07-22-2006   #4
sdawkins
 
sdawkins's Avatar
 
Join Date: Oct 2005
Posts: 608
sdawkins has disabled reputation
Send a message via AIM to sdawkins Send a message via Yahoo to sdawkins
Default

Quote:
Originally Posted by ebionet
Thanks for help, Actually I mean to say that I want category list with an image not background.
That is for the icon -- 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.
sdawkins is offline   Reply With Quote
Old 07-24-2006   #5
Vincent Wright
 
Join Date: Sep 2005
Posts: 1,421
Vincent Wright is an unknown quantity at this point
Default

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.
Vincent Wright is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 03:00 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources