email link in social menu

General Discussion 2 posts 2 voices

  1. I use your social menu ( (thanks, much better than plugin) with Font Awesome icons, as sharing rather than follow, adding it to template files.

    I need a share by email link. I can style this

    <a href="mailto:?subject=<?php the_title();
    ?>&body=<?php the_permalink() ?>" title="Send this
    article to a friend!">Email this</a>

    as a button, and probably with an icon, but was wondering if you could suggest a way to implement being able to use this in the menu?
    It would be something able to be used again and again.

  2. You just need to target mailto: in your CSS. So, something like:

    #menu-social li a[href*="mailto:"]::before {