Forked from cobaltapps/Genesis Extender Home Slider Tutorial Snippets
Created
March 7, 2019 02:31
-
-
Save DalavanCloud/3dea2e4292041c8a6e0c7f6d016c9e40 to your computer and use it in GitHub Desktop.
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
// Custom Hook Box code | |
<div class="my-home-slider"> | |
<div class="my-home-slider-wrap"> | |
<?php echo do_shortcode( '[home_slider]' ); ?> | |
</div> | |
</div> | |
// Custom CSS code example #1 | |
.my-home-slider { | |
background: #222; | |
border-top: 3px solid #000; | |
-webkit-box-shadow: 0 3px 5px #aaa; | |
box-shadow: 0 3px 5px #aaa; | |
} | |
.my-home-slider-wrap { | |
max-width: 1140px; | |
margin: 0 auto; | |
} | |
// Custom CSS code example #2 | |
.my-home-slider { | |
padding: 20px 0 0; | |
} | |
.my-home-slider-wrap { | |
max-width: 1140px; | |
margin: 0 auto; | |
-webkit-box-shadow: 0 3px 5px #aaa; | |
box-shadow: 0 3px 5px #aaa; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment