Commit 9d85f2b0 authored by imac's avatar imac

[Bugfix]Redmine - #639 : flash rollover home page

parent 75cf8b94
......@@ -920,7 +920,6 @@ VII/ Pages...............ALL pages
/* --------------*/ /* ---------->>> HOME <<<-----------*/ /* --------------*/
#home {
background: rgba(7,17,48,0.5);
position: relative;
height: 100%;
}
......@@ -1342,7 +1341,6 @@ label.chevron.bottom::first-letter {
}
.pa_format ul li img {
vertical-align: top;
margin-top: -50px;
}
.pa_format ul li:last-of-type{
......@@ -2302,6 +2300,7 @@ div.wpcf7-mail-sent-ok{
text-align: center;
}
/* --------------*/ /* ---------->>> Woocommerce <<<-----------*/ /* --------------*/
.woocommerce-info,
.woocommerce-product-gallery{
display: none !important;
}
......
......@@ -189,6 +189,9 @@
.filter-btn .btn-container{
width: 30px !important;
}
#slides{
height: auto !important;
}
}
@media screen and (max-width: 860px) {
/* general */
......@@ -732,6 +735,10 @@
.pa_format ul li img{
margin-top: 0px;
}
.pa_format ul li {
max-width: 60px;
margin: 0 10px;
}
/* form */
.form-wrapper{
padding: 23px 20px 20px;
......@@ -885,5 +892,11 @@
}
.slides-wrapper .gallery-content {
max-width: 90%;
}
}
/* (landscape) ----------- */
@media screen and (max-height : 500px) {
.news-btn {
top: 20px;
}
}
\ No newline at end of file
......@@ -83,6 +83,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
$('.main').outerHeight(mainHeight + $('.footer-home-content').outerHeight());
$('.home-down-wrapper').css('top', - ($('.home-down-wrapper').outerHeight()));
$('.home-down').css('top', -($('.home-down').outerHeight()));
//$('.home-down-wrapper').css('top','121px');
}
//scroll to bottom
$('body').animate({
......@@ -90,10 +91,13 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
}, 1000,'swing');
}).on('click','.scrolled',function(){
$(this).removeClass('scrolled');
//$('.footer-home-content .nav-content').remove();
$("html, body").animate({ scrollTop: 0 }, "slow");
$('.footer-home-content').find('.nav-content').remove();
//$('.home-footer-nav .nav-wrapper').css('top','initial');
$('.home-down-wrapper').css('top','initial');
$('.main').height($(window).height() - $('.nav-header').outerHeight());
return false;
});
//Get file name of uploaded file
$('#file-p').on('change',function(e){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment