Last active
May 19, 2016 21:05
-
-
Save srikat/9594667 to your computer and use it in GitHub Desktop.
Full width Slider in Parallax Pro. http://sridharkatakam.com/full-width-slider-parallax-pro/
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
genesis_register_sidebar( array( | |
'id' => 'home-slider', | |
'name' => __( 'Home Slider', 'parallax' ), | |
'description' => __( 'This is the home slider widget area.', 'parallax' ), | |
) ); |
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
if ( is_active_sidebar( 'home-section-1' ) || is_active_sidebar( 'home-section-2' ) || is_active_sidebar( 'home-section-3' ) || is_active_sidebar( 'home-section-4' ) || is_active_sidebar( 'home-section-5' ) ) { |
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
if ( is_active_sidebar( 'home-section-1' ) || is_active_sidebar( 'home-slider' ) || is_active_sidebar( 'home-section-2' ) || is_active_sidebar( 'home-section-3' ) || is_active_sidebar( 'home-section-4' ) || is_active_sidebar( 'home-section-5' ) ) { |
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
genesis_widget_area( 'home-section-1', array( | |
'before' => '<div class="home-odd home-section-1 widget-area"><div class="wrap">', | |
'after' => '</div></div>', | |
) ); |
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
genesis_widget_area( 'home-slider', array( | |
'before' => '<div class="home-slider widget-area">', | |
'after' => '</div>', | |
) ); |
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
/* Full width Slider | |
------------------------------------------ */ | |
.home-slider #genesis-responsive-slider { | |
border: none; | |
padding: 0; | |
} | |
.home-slider .slide-excerpt-border p { | |
margin-bottom: 0; | |
} | |
.home-slider .flex-control-nav li a, | |
.home-slider .flex-direction-nav li a { | |
border-bottom: none; | |
} | |
.home-slider .flex-direction-nav li .prev { | |
left: 0; | |
} | |
.home-slider .flex-direction-nav li .next { | |
right: 0; | |
} | |
.home-slider .flexslider .slides img { | |
width: 100%; | |
} | |
.home-slider .flexslider { | |
max-width: 100%; | |
} | |
@media only screen and (max-width: 768px) { | |
.home-slider .slide-excerpt { | |
width: 100%; | |
} | |
} | |
@media only screen and (max-width: 568px) { | |
.home-slider .slide-excerpt { | |
display: none; | |
} | |
.home-slider .flex-direction-nav { | |
display: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all, I'm trying to get this to work. I want to use Soliliqoy to create a slider on my Parallax Pro home page. Has anyone else used this code and been successful? Any tips? Thanks!