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 | |
/* CUSTOM SIDEBAR | |
========================================================================== */ | |
add_action('init', 'hp_register_sidebar_widgets'); | |
function hp_register_sidebar_widgets(){ | |
register_sidebar(array( | |
'name' => __( 'Homepage Widgets', 'widget-options' ), | |
'id' => 'homepage-widgets', | |
'description' => __( 'Widgets in this area will be shown on homepage after header section.', 'widget-options' ), |
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
/* # Homepage Widgets | |
---------------------------------------------------------------------------------------------------- */ | |
.hp-widgets-section{ | |
padding: 50px 0px 30px; | |
border-bottom: 1px solid #eee; | |
} | |
.hp-widgets-section .widget{ | |
padding: 30px 20px 0px; | |
} |
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
(function (root, factory) { | |
if ( typeof define === 'function' && define.amd ) { | |
define([], factory(root)); | |
} else if ( typeof exports === 'object' ) { | |
module.exports = factory(root); | |
} else { | |
root.myPlugin = factory(root); | |
} | |
})(typeof global !== "undefined" ? global : this.window || this.global, function (root) { |
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 | |
//* Add support for one fullwidth footer widgets | |
add_theme_support( 'genesis-footer-widgets', 1 ); | |
?> |
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
/* # Full Width Genesis Footer w/ Styling | |
------------------------------------------- */ | |
.footer-widgets{ | |
background-color: #232525; | |
} | |
.footer-widgets, .footer-widgets a, .footer-widgets .widgettitle{ | |
color: #fff; | |
text-decoration: none; | |
} | |
.footer-widgets-1.footer-widget-area{ |
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
---------------------------------------------------------------------------------------------------- */ | |
.instagram { | |
overflow: hidden; | |
} | |
.instagram .wrap { | |
border-top: 1px solid #eee; | |
margin-left: auto; |
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
.footer-widgets{ | |
padding: 0px; | |
background: linear-gradient(90deg, #dd3333 50%, #000000 50%); | |
} | |
.footer-widgets .widget{ | |
padding: 90px 40px; | |
margin: 0px; | |
} | |
.footer-widgets .widget-title{ | |
text-transform: uppercase; |
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
.site-footer{ | |
background-color: #232525; | |
text-align: left; | |
} | |
.site-footer, .site-footer a{ | |
color: #fff; | |
text-decoration: none; | |
border: 0px; | |
} | |
.site-footer-hi .widget-title{ |