Last active
January 10, 2018 12:33
-
-
Save wpspeak/6349635 to your computer and use it in GitHub Desktop.
Add 2-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 2-column footer widgets | |
add_theme_support( 'genesis-footer-widgets', 2 ); |
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
// Styling for 2-column widgetized widget in Genesis Framework | |
// @url: http://wpspeak.com/2-column-widgetized-footer/ | |
.footer-widgets-1, | |
.footer-widgets-2 { | |
width: 550px; | |
} | |
.footer-widgets-1 { | |
margin-right: 40px; | |
margin-right: 4rem; | |
} | |
.footer-widgets-1 { | |
float: left; | |
} | |
.footer-widgets-2 { | |
float: right; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have used this in my site, but I am trying to vertical align the second widget area to the bottom of the first widget area, but to no success, how would i do this?