Forums / Templates, Stylesheets, Page Layout / Bullets? How do I add these to my Categories List?

Bullets? How do I add these to my Categories List?

Locked

Views: 1,978

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
18 Feb 2007, 9:48 PM
#1
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Bullets? How do I add these to my Categories List?

Can anyone help me with this one?

I've managed to add bullet images to the list of links in my Information sidebox, but the same method doesnt seem to work for the products list in my Categories sidebox.

Any ideas why?

To get it to work in the Information sidebox I added the following to my CSS :

#informationContent.sideBoxContent ul li {
list-style-image: url(../images/bullet01.gif);
}

I thought that adding :

#categoriesContent.sideBoxContent {
list-style-image: url(../images/bullet01.gif);
}

....would give me the same result for my products list, but it doesnt work.

Help.

Here is a link for reference...

http://www.bathroomzone.co.uk

:huh:

18 Feb 2007, 10:06 PM
#2
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Bullets? How do I add these to my Categories List?

jaz1974:

Can anyone help me with this one?

I've managed to add bullet images to the list of links in my Information sidebox, but the same method doesnt seem to work for the products list in my Categories sidebox.

Any ideas why?

http://www.bathroomzone.co.uk

:huh:

Because the categories list is not an unordered list like the information sidebox. If you look at your page source, you'll see that the information sidebox is like this:

<ul> <li><a href="link_here.html">Link</a></li> </ul>

and the categories sidebox is like this:
<a href="link_here.html">Link</a>

The css bullet tags are for unordered lists.

18 Feb 2007, 10:11 PM
#3
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Bullets? How do I add these to my Categories List?

You could however add a background image to the links, something kinda like this:

#categoriesContent a {
background: URL(../images/YOUR_IMAGE.jpg) no-repeat;
padding-left: 35px;
background-position: center left;
}

18 Feb 2007, 10:34 PM
#4
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Re: Bullets? How do I add these to my Categories List?

Thanks for the reply Jettrue.

The background method works ok, but doesnt allow me to add a rollover, as with the bullet method.

Is there no other way?
Seems like a fairly fundemental request.

18 Feb 2007, 11:10 PM
#5
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Bullets? How do I add these to my Categories List?

jaz1974:

Thanks for the reply Jettrue.

The background method works ok, but doesnt allow me to add a rollover, as with the bullet method.

Is there no other way?
Seems like a fairly fundemental request.

#categoriesContent a:hover {
background: URL(../images/YOUR_HOVER_IMAGE.jpg) no-repeat;
padding-left: 35px;
background-position: center left;
}

18 Feb 2007, 11:34 PM
#6
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Re: Bullets? How do I add these to my Categories List?

nice one!

thanks