Hi I've a problem.
Iwant to show the categories on the left side bar, the color of them should be White.
So I've edited the css file, but they didn't change there Color.
Maybe i'm to stupid, can some on help me?
Here the code of the sidebar template
<div class="serendipitySideBarContent">{$item.content}</div>
Here the code on my blocg
<div class="serendipitySideBarContent">
<div style="padding-bottom: 2px;">
<a href="/s9y/categories/2-hello" title="hello" style="padding-left: 0px">hello</a></div></div>
who the hell came there from <div style="padding-bottom: 2px;">
and I've added to the CSS File
a.serendipitySideBarContent, a:hover.serendipitySideBarContent, a:link.serendipitySideBarContent, a:visited.serendipitySideBarContent {
color:#FFFFFF;
}
but there don't change there color
Thanks Night Walker
CSS Problem
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
-
- Regular
- Posts: 20
- Joined: Mon Jul 25, 2005 4:05 pm
-
- Regular
- Posts: 14
- Joined: Mon Jul 25, 2005 12:11 am
use
Code: Select all
div.serendipitySideBarContent a:link
div.serendipitySideBarContent a:visited
div.serendipitySideBarContent a:active
div.serendipitySideBarContent a:hover
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Even better, in Serendipity 0.8 and above every plugin has it's own container.
Then you can use this:
Regards,
Garvin
Then you can use this:
Code: Select all
.container_serendipity_categories_plugin a {
color: white;
}
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am