This topic has 5 replies, 3 voices, and was last updated 9 years by Laura.

  • Author
  • #43487
     navascues
    Participant

    Hi,

    I want to change the icon heart in this shortcode. Can you help me?

    Thanks a lot

    #43545
     Laura
    Moderator

    Hello, can you post the shortcode ?

    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 🙂

    #43581
     navascues
    Participant

    Yes, the shotcode is [kleo_img_rounded] and i want change the icon heart that shown when you put the icon over the photo.

    I apologize for my English. Attached a picture so you can see the image I want to change.

    Attachments:
    You must be logged in to view attached files.
    #43718
     Laura
    Moderator

    Hello, this is for rounder image only:

    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 with a camera icon function */
    function my_custom_icon () {
        return 'camera';
    }
    

    This is for all the hearts in the website

    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';
    }
    
    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 🙂

    #53522
     RaulNicolas
    Participant

    Hi, so, which file we have to change?

    #53733
     Laura
    Moderator

    Hello, the file its functions.php of child theme, just add the codes to it 🙂

    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 6 posts - 1 through 6 (of 6 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?