Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #294475

    Hello,

    I was successful to target the IconList Icon backgrounds by applying a Custom CSS Class for the IconList Element (abtus) and then using the following code in quick CSS:

    .abtus .avia-icon-list .iconlist_icon   { background-color: #3a7090; }
    .abtus .avia-icon-list .iconlist_icon:hover   { background-color: #435960; }

    However, when i tried same concept for IconBox Icon, it does not work. I used (homepg) as the Custom CSS Class applied to the IconBox Element and in quick css used the following code:

    .printProducts .main_color.iconbox_top .iconbox_icon{ color: white; background-color: red; }
    .printProducts .main_color.iconbox_top .iconbox_icon:hover{ color: red; background-color: #435960; }

    I want to point out when i don’t add the Custom CSS Class in front for the IconBox, it changes the colour globally

    .main_color.iconbox_top .iconbox_icon { color: #ffffff; background-color: #435960; }
    .main_color.iconbox_top .iconbox_icon:hover{ color: #3a7090; background-color: #c3a400; }

    Of course, i need to target each Iconbox icon individually.

    Any help is appreciated.

    Thank you

    #294746

    Hi!

    You need to change the selector, from:

    .printProducts .main_color.iconbox_top .iconbox_icon
    

    To:

    .printProducts.main_color.iconbox_top .iconbox_icon
    

    Best regards,
    Josue

    #295039

    Great! that works, guess i should of realized my css snytax was off there.

    Thanks for tip!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing IconBox Icon background with Custom CSS Class’ is closed to new replies.