This topic has 1 reply, 2 voices, and was last updated 8 years by Laura.

  • Author
  • #101051
     dust47
    Participant

    There are some icons i don’t want to display on my site, so i want to change them.

     

    http://motodu.com/de/wp-content/uploads/2016/01/hearts.jpg

    Like those hearts i dont want to display on my site. There are some more hearts.

    #101506
     Laura
    Moderator

    Hello, just add this to functions.php of child theme

    COPY CODE
    
    add_action('after_setup_theme','kleo_my_hearts_actions');
    
    function kleo_my_hearts_actions() 
    {     
    
        /* Replace the heart over images */
        add_filter('kleo_img_rounded_icon', 'my_custom_icon');
    
        /* Replace the heart from register modal */
        add_filter('kleo_register_button_icon', 'my_custom_icon_register');
    
        /* Replace the heart from About us widget */
        add_filter('kleo_widget_aboutus_icon', 'my_custom_icon_about_widget');
    }
    
    /* Replace the heart with a camera icon function */
    function my_custom_icon () {
        return 'camera';
    }
    
    /* Replace the heart from register modal with a user icon function */
    function my_custom_icon_register () {
        return 'user';
    }
    /* Replace the heart from about us widget with a user icon function */
    function my_custom_icon_about_widget () {
        return 'user';
    }
    

    To hie also the match circle at profiles, add this to style.css of child theme

    COPY CODE
    
    .circular-item .hearts {
    display: none;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?