Skip to content

Instantly share code, notes, and snippets.

View cameck's full-sized avatar
🍩
(ॢ◕ัڡ ◕ั ॢ)

Cameron Eckelberry cameck

🍩
(ॢ◕ัڡ ◕ั ॢ)
View GitHub Profile
/*
Theme Name: Jupiter Child Theme
Theme URI: http://themeforest.net/user/artbees
Description: Child theme for the Jupiter theme
Author: Cameron
Theme URI: http://themeforest.net/user/artbees
Template: jupiter
Version: 5.0.5
*/
$('.front-page-header') .css({'height': newHeight +'px'});
/*Slider Fix*/
.cafe-pro-home .site-header .wrap {
padding: 0;
}
// Replace header hook to include slider
remove_action( 'genesis_header', 'genesis_do_header' );
add_action( 'genesis_header', 'genesis_do_new_header' );
function genesis_do_new_header() {
//add your custom slider shortcode here:
echo do_shortcode('[rev_slider alias="main"][/rev_slider]');
if ( is_active_sidebar( 'header-right' ) || has_action( 'genesis_header_right' ) ) {
echo '<div class="widget-area">';