2011-11-18, 21:07:07
Hello, you css-gurus,
I need some help with CSS in cycle-styling ;=)
I use the cycle-gallery and it works well. Each entry has <h2> for the title and the rest sits in <p>
I defined the css for the h2 like this and it works well:
a lot of important things, I am sure I will get rid of them.
Now I want to change the background-images for h2, using :nth-child-property, but I have no success
I have 4 different images, so I want to use the pseudo-element for
<h2>sits in .gallery-container n-times, but I cannot assign different graphics, I tested with FF and IE9
I need some help with CSS in cycle-styling ;=)
I use the cycle-gallery and it works well. Each entry has <h2> for the title and the rest sits in <p>
I defined the css for the h2 like this and it works well:
Code:
#content .gallery .gallery-text h2 {font-size:14px !important;color:green;text-transform:none !important;background:url(images/img09.gif) no-repeat right bottom !important;}
a lot of important things, I am sure I will get rid of them.
Now I want to change the background-images for h2, using :nth-child-property, but I have no success
I have 4 different images, so I want to use the pseudo-element for
Code:
:nth-child(1)
:nth-child(2)
:nth-child(3)
and so on
<h2>sits in .gallery-container n-times, but I cannot assign different graphics, I tested with FF and IE9
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18