I am trying to insert a heart icon into the header of of the theme
I added the following code to insert a shortcode into the header.php file
<?php echo do_shotcode(‘[wp-svg-icons icon=”heart” wrap=”i”]’); ?>
but this returns nothing. A point in the right direction would be most appreciated.
In header where you want to add the icon?
Can you show a screenshot of the area you are mentioning?
Generaly you can use ::before selector to add something before class or element.
eg: if you want to add the an envelop icon before the my account you can use following css:
you have to adjust this as you want and add the code in Theme Options >> Custom CSS >> global custom css
for further details you can refer this : https://www.w3schools.com/cssref/sel_before.asp
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
You may extend support period on ThemeForest and then update its status by clicking "Update" button in your Account area.