-
Author
-
September 17, 2013 at 18:12 #2989launchpioneersParticipant
How can I determine which icon is show on a hover. The heart seems to be the class name so I can’t edit the CSS. I want to choose a different icon.
September 18, 2013 at 02:07 #3022SQadminKeymasterHi,
Please add the following code to your sweetdate-child/functions.php file. It replaces the heart with a camera icon.
To view all possible icons available:
http://fortawesome.github.io/Font-Awesome/icons/
Make sure to have the child theme activatedCOPY CODEadd_action('after_setup_theme','kleo_replace_heart'); function kleo_replace_heart() { /* 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'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 19, 2013 at 19:35 #3083launchpioneersParticipantThis works in some areas but not all. Specifically, the [Kleo] About Us widget. It still shows a heart. Please advise.
September 20, 2013 at 00:50 #3098SQadminKeymasterHi,
We’ll include in this week update a way to replace the heart in that location, ThanksWe’ll let you know how to once the update is available.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 30, 2013 at 01:19 #3526SQadminKeymasterHi, I’ve added the code for the About us widget in this topic:
https://archived.seventhqueen.com/forums/topic/removereplace-the-love-hearts-in-siteHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.