Tagged: , , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23814

    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?

    #121206

    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

    #121207

    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

    #121208

    Hi,

    Yes, create a backup of your css modifications when updating.

    Regards,

    Ismael

    #121209

    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

    #121210

    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 ).

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

The topic ‘Rollover disc arrow replacement – PART 2’ is closed to new replies.