Created
March 10, 2015 21:08
-
-
Save 3200creative/cbc67fe5e483bb17975a to your computer and use it in GitHub Desktop.
Add clear-line shortcode
This file contains 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
//* General Class Shortcode | |
function clearline_func() { | |
return '<section class="clear-line"></section>'; | |
} | |
add_shortcode( 'clear-line', 'clearline_func' ); |
This file contains 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
/* Shortcodes */ | |
.clear-line { | |
border-bottom: 1px solid #ddd; | |
clear: both; | |
padding-top: 40px; | |
margin-bottom: 40px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment