Last active
August 29, 2015 14:08
-
-
Save srikat/bb75248760cc78d932fd to your computer and use it in GitHub Desktop.
How to place a full width slider in Home Featured widget area in Centric Pro. http://sridharkatakam.com/place-full-width-slider-home-featured-widget-area-centric-pro/
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
| $('.home-featured .wrap') .css({'height': (($(window).height()))+'px'}); | |
| $(window).resize(function(){ | |
| $('.home-featured .wrap') .css({'height': (($(window).height()))+'px'}); | |
| }); | |
| $(".home-featured .home-widgets-1 .widget:last-child").after('<p class="arrow"><a href="#home-widgets"></a></p>'); |
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
| /* RoyalSlider | |
| --------------------------------------------- */ | |
| .home-featured .wrap { | |
| display: block; | |
| margin-top: 0; | |
| max-width: none; | |
| } | |
| .home-featured .home-widgets-1 { | |
| display: block; | |
| padding: 0; | |
| } | |
| @media only screen and (max-width: 1023px) { | |
| .home-featured .wrap { | |
| padding-left: 0; | |
| padding-right: 0; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment