Skip to content

Instantly share code, notes, and snippets.

View graphicdesignbyemily's full-sized avatar

Emily Genevish graphicdesignbyemily

View GitHub Profile
@graphicdesignbyemily
graphicdesignbyemily / gist:6550991
Last active December 22, 2015 23:59
Importing FontAwesome into css file and utilizing it via :before as a header icon
Download the FontAwesome zip, unpack, and upload to server
import via url
"\f132" is the unicode for the shield icon, use whatever you want in this place
the "\00a0" unicode for a space to add a bit of between the icon and the h3 title text
<?php
if ( is_woocommerce() ) {
echo '<a href="/bag"><div id="cart-total-icon-mobile" class="icon-shop"></div></a>';
}
?>