Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1344055

    Hi,

    I need to change the hover color of the circle for my new icon. For some reason the style is not applying.

    I added this to my child theme

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['phone']	 = array( 'font' =>'fontello', 'icon' => 'ue802');
    	return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    // Add new icon as an option for social icons
    function avia_add_custom_social_icon($icons) {
    	$icons['phone'] = 'phone';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    and i’m using this css for the circle

    #top #wrap_all .av-social-link-phone:hover a {
        background-color: red;
        color: white;
    }
    #1344085

    Hey terishka1,

    Please try to change the CSS code to:

    #top #wrap_all .av-social-link-phone:hover a {
        background-color: red !important;
        color: white !important;
    }

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.