Skip to content

Instantly share code, notes, and snippets.

@About2git
Forked from srikat/style.css
Created February 13, 2015 21:29
Show Gist options
  • Select an option

  • Save About2git/6aed3fece5589117c2ec to your computer and use it in GitHub Desktop.

Select an option

Save About2git/6aed3fece5589117c2ec to your computer and use it in GitHub Desktop.
How to place a full width slider in Home Featured widget area in 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