-
-
Save eslucky/e7d19a7755a18c476579 to your computer and use it in GitHub Desktop.
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
//* Add Soliloquy slider above .site-header | |
add_action( 'genesis_before_header', 'sk_home_slider' ); | |
function sk_home_slider() { | |
if ( function_exists( 'soliloquy_slider' ) ) soliloquy_slider( 'home-slider' ); | |
} |
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
/* Soliloquy slider on homepage | |
--------------------------------------------- */ | |
#soliloquy-container-1298 { | |
position: absolute; | |
top: 0; | |
left: 0; | |
z-index: -1; | |
max-width: none !important; | |
margin-top: 160px; | |
} | |
#soliloquy-container-1298 .soliloquy .soliloquy-slides img { | |
width: 100%; | |
} | |
@media only screen and (max-width: 768px) { | |
#soliloquy-container-1298 { | |
position: relative; | |
z-index: 0; | |
} | |
.home .site-header { | |
top: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use on Centric theme to put full screen Soliloguy slider in widget #1 (behind text)