Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #444974

    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

    #445586

    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

    #445599

    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.

    #446275

    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

    #446283
    This reply has been marked as private.
    #446928

    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

    #447000

    It works, thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘iconlist different colors’ is closed to new replies.