Volander
(Jeppe Volander)
September 19, 2019, 7:36am
#1
Hey guys,
This should be pretty straight forward… but somehow I just can’t crack it.
I need every other light beige background to be red, but I just cant target it?
You can see my layout below, the structure and the css that doesn’t work.
Thanks in advance.
Link
https://enpa.webflow.io/team-2
Matzinger
(Studio Digital)
September 19, 2019, 7:51am
#2
Use !important at the end.
For Example:
div {
color : blue !important;
}
ToreSBentsen
(Tore S. Bentsen)
September 19, 2019, 8:05am
#3
We need the published link to help you.
Volander
(Jeppe Volander)
September 19, 2019, 8:11am
#4
The link is in the topic now
ToreSBentsen
(Tore S. Bentsen)
September 19, 2019, 8:21am
#5
Can you also add the live link?
1 Like
ToreSBentsen
(Tore S. Bentsen)
September 19, 2019, 9:02am
#6
@Volander
Here you go mate (well it’s pink, but you can change that):
.team-background.w-dyn-item:nth-child(even) .team-column .team__color {
background: pink;
}
Hope it works.
1 Like
Volander
(Jeppe Volander)
September 19, 2019, 9:05am
#7
Ahh i see what you did there! It works perfectly, thank you so much!
ToreSBentsen
(Tore S. Bentsen)
September 19, 2019, 9:06am
#8
No problem mate. Glad it helped.