This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="one-third first">This is my first column. It is a lot longer than the one's that follow. I hope this will not cause any issues!</div> | |
<div class="one-third">This is my second column. It is shorter than the first.</div> | |
<div class="one-third">This is my third column.</div> | |
<p>This is some text beneath the columns</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="one-third first">This is my first column. It is a lot longer than the one's that follow. I hope this will not cause any issues!</div> | |
<div class="one-third">This is my second column. It is shorter than the first.</div> | |
<div class="one-third">This is my third column.</div> | |
<div class="clear-line"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Clear fix for column classes | |
---------------------------------------------------------------------------------------------------- */ | |
.clear-line:after { | |
content: "."; | |
display: block; | |
clear: both; | |
visibility: hidden; | |
line-height: 0; | |
height: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Register and load Font Awesome CSS files using a CDN. | |
add_action( 'wp_enqueue_scripts', 'ifamily_enqueue_awesome' ); | |
function ifamily_enqueue_awesome() { | |
wp_enqueue_style( 'ifamily-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css', array(), '4.1.0' ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<i class="fa fa-tree"></i> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<i class="fa fa-wordpress fa-lg"></i> fa-lg | |
<i class="fa fa-wordpress fa-2x"></i> fa-2x | |
<i class="fa fa-wordpress fa-3x"></i> fa-3x | |
<i class="fa fa-wordpress fa-4x"></i> fa-4x | |
<i class="fa fa-wordpress fa-5x"></i> fa-5x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
One wp-config for local development to staging to production. | |
*/ | |
// Define Environments | |
$environments = array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Text meant only for screen readers. */ | |
.screen-reader-text { | |
clip: rect(1px, 1px, 1px, 1px); | |
position: absolute !important; | |
height: 1px; | |
width: 1px; | |
overflow: hidden; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Enqueue Font Awesome | |
add_action( 'wp_enqueue_scripts', 'ifamily_load_fontawesome' ); | |
function ifamily_load_fontawesome() { | |
wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', array(), '4.3.0' ); | |
} |
OlderNewer