@media only screen and (max-width: 40em) {
#slideshow {
- height: 270px;
- margin-top: 140px; } }
+ height: 270px; } }
#slideshow li {
list-style: none; }
@media only screen and (min-width:40.063em) and (max-width:64em) {
this.title = $(this.element).find('img').attr('alt');
}
});
+ var slideshow = $("#slideshow");
var body = $("body");
var sticky = $(".sticky");
$(window).on("scroll", function () {
var scrollTop = $(window).scrollTop();
if(scrollTop > 0){
$(sticky).addClass("fixed");
+ $(slideshow).css("margin-top", "140px");
}
+
// if(scrollTop == 0){
// $(sticky).removeClass("fixed");
// $(body).removeClass("f-topbar-fixed");
this.title = $(this.element).find('img').attr('alt');
}
});
+ var slideshow = $("#slideshow");
var body = $("body");
var sticky = $(".sticky");
$(window).on("scroll", function () {
var scrollTop = $(window).scrollTop();
if(scrollTop > 0){
$(sticky).addClass("fixed");
+ $(slideshow).css("margin-top", "140px");
}
+
// if(scrollTop == 0){
// $(sticky).removeClass("fixed");
// $(body).removeClass("f-topbar-fixed");
#slideshow {
@media #{$small-only}{
height: 270px;
- margin-top: 140px;
}
li {
list-style: none;