Hi there,
I want to replace the the entypo icon which appears on the rollover effect and ‘Dude’ suggested I use the following code to do so…
.image-overlay.overlay-type-extern .image-overlay-inside::before{content:”E714″;}
.image-overlay.overlay-type-video .image-overlay-inside::before{content:”E714″;}
however, I can’t make this work.
Any suggestions?
Hi,
Maybe you are doing it wrong.
.image-overlay.overlay-type-extern .image-overlay-inside::before{content:"E714";}
.image-overlay.overlay-type-video .image-overlay-inside::before{content:"E714";}
Check this link http://www.entypo.com/characters/. Look at the first icon, which is a telephone. The code is U+1F4DE. If you want to apply that, you can use this.
.image-overlay.overlay-type-extern .image-overlay-inside::before{content:"1F4DE";}
.image-overlay.overlay-type-video .image-overlay-inside::before{content:"1F4DE";}
Please replace the original code on base.css. It is not working on custom.css.
Remove browser cache then hard refresh your page to see the changes.
Regards,
Ismael
Hi there,
It works if I replace the code in the master base.css file but NOT if I make a duplicate and use it in my child theme. Which im guessing will mean I will need to update it every time I update the theme?
Cheers
Brilliant.
So is it trial and error as to what files I can duplicate into my child theme to work if I tweak code or is it everything other than the css. Just interested to know
Cheers as always
Andy
Only style.css will be replaced automatically. If you create a functions.php file it won’t replace the parent theme functions.php but it will be loaded in addition to the standard functions.php. You can use it do define new functions or to overwrite existing ones ( http://codex.wordpress.org/Child_Themes ).