Tagged: iconlist
Hi,
I have an iconlist on the homepage with 3 icons. I want the icons to have 3 different colors.
Is that possible? Can you help me with that?
With regards
Hey Linden_Mobile!
Please try the following in Quick CSS under Enfold–>General Styling:
.page-id-15 span.iconlist-char:nth-child(1){
color:blue !important;
}
.page-id-15 span.iconlist-char:nth-child(2){
color:yellow !important;
}
.page-id-15 span.iconlist-char:nth-child(3){
color:green !important;
}
Cheers!
Rikard
Hi Rikard,
Your css only changes the icon it self. But I want to change the red cirkel around it.
And only the first color in your css is used and it is used for alle three icons. So it is not completely right.
Can you still help me?
With regards.
Hi!
Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details here as a private reply.
Regards,
Rikard
Hi!
Use this to change the background of the icon container:
.page-id-15 .avia-icon-list li:nth-child(1) .iconlist_icon.avia-font-entypo-fontello {
background: black !important;
}
.page-id-15 .avia-icon-list li:nth-child(2) .iconlist_icon.avia-font-entypo-fontello {
background: red !important;
}
.page-id-15 .avia-icon-list li:nth-child(3) .iconlist_icon.avia-font-entypo-fontello {
background: blue !important;
}
Best regards,
Ismael
It works, thank you!