Last active
December 21, 2015 18:48
-
-
Save wpspeak/6349536 to your computer and use it in GitHub Desktop.
Add 3-column footer widgets in Genesis Framework
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
<?php | |
//* Add support for 3-column footer widgets | |
add_theme_support( 'genesis-footer-widgets', 3 ); |
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
// Default style as in Genesis 2.0 | |
// Footer Widgets | |
.footer-widgets-1, | |
.footer-widgets-3 { | |
width: 350px; | |
} | |
.footer-widgets-2 { | |
width: 360px; | |
} | |
.footer-widgets-1 { | |
margin-right: 40px; | |
margin-right: 4rem; | |
} | |
.footer-widgets-1, | |
.footer-widgets-2 { | |
float: left; | |
} | |
.footer-widgets-3 { | |
float: right; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment