Skip to content

Instantly share code, notes, and snippets.

@srikat
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save srikat/bb75248760cc78d932fd to your computer and use it in GitHub Desktop.

Select an option

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/
$('.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>');
/* 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