Skip to content

Instantly share code, notes, and snippets.

@deckerweb
Forked from longjasonm/functions.php
Created August 4, 2013 19:27
Show Gist options
  • Select an option

  • Save deckerweb/6151600 to your computer and use it in GitHub Desktop.

Select an option

Save deckerweb/6151600 to your computer and use it in GitHub Desktop.
<?php
//* Do NOT include the opening php tag
// Add support for 4-column footer widgets
add_theme_support( 'genesis-footer-widgets', 4 );
/* 4-Column Footer (Overrides default 3-column setup in Genesis, so that code must remain in place)
---------------------------------------------------------------------------*/
.footer-widgets-1, .footer-widgets-2, .footer-widgets-3, .footer-widgets-4 {
width: 21.875%; /* 252px / 1152px */
}
.footer-widgets-1, .footer-widgets-2, .footer-widgets-3 {
float: left;
margin-right: 4.166666666%; /* 48px / 1152px */
}
.footer-widgets-4 {
float:right;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment