Commit 35e17ce7 authored by imac's avatar imac

[Bugfix] Responsive

parent ffebcd11
...@@ -929,6 +929,9 @@ VII/ Pages...............ALL pages ...@@ -929,6 +929,9 @@ VII/ Pages...............ALL pages
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.img-wrapper img{
display: none;
}
.news-btn{ .news-btn{
position: absolute; position: absolute;
top: 50px; top: 50px;
...@@ -2064,7 +2067,6 @@ label.chevron.bottom::first-letter { ...@@ -2064,7 +2067,6 @@ label.chevron.bottom::first-letter {
.product-list article figure.small img{ .product-list article figure.small img{
max-height: 69px; max-height: 69px;
width: auto; width: auto;
max-width: 69px;
} }
.product-list ul { .product-list ul {
position: absolute; position: absolute;
...@@ -2303,6 +2305,7 @@ div.wpcf7-mail-sent-ok{ ...@@ -2303,6 +2305,7 @@ div.wpcf7-mail-sent-ok{
/* --------------*/ /* ---------->>> Woocommerce <<<-----------*/ /* --------------*/ /* --------------*/ /* ---------->>> Woocommerce <<<-----------*/ /* --------------*/
.woocommerce-variation-description, .woocommerce-variation-description,
.woocommerce-info, .woocommerce-info,
.woocommerce-variation,
.woocommerce-product-gallery{ .woocommerce-product-gallery{
display: none !important; display: none !important;
} }
......
...@@ -192,9 +192,6 @@ ...@@ -192,9 +192,6 @@
#slides{ #slides{
height: auto !important; height: auto !important;
} }
.close-btn-mobile{
display: none !important;
}
} }
@media screen and (max-width: 860px) { @media screen and (max-width: 860px) {
/* general */ /* general */
...@@ -203,12 +200,15 @@ ...@@ -203,12 +200,15 @@
} }
.main{ .main{
/*height: auto !important;*/ /*height: auto !important;*/
overflow: auto;
} }
.container-bg{ .container-bg{
left: 0; left: 0;
height: 100%; height: 100%;
width: 100% !important; width: 100% !important;
z-index: 99999; z-index: 9999999;
position: fixed;
top: 0 !important;
} }
.right-container{ .right-container{
width: 100% !important; width: 100% !important;
...@@ -296,6 +296,9 @@ ...@@ -296,6 +296,9 @@
width: 100%; width: 100%;
left: initial !important; left: initial !important;
} }
#uniqpaper .cover-wrapper{
display: block;
}
.floated-bloc{ .floated-bloc{
position: relative !important; position: relative !important;
left: initial; left: initial;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -26,12 +26,13 @@ $(function(){ ...@@ -26,12 +26,13 @@ $(function(){
nav.removeClass('OFF').addClass("ON"); nav.removeClass('OFF').addClass("ON");
nav.parent().addClass("show-nav transition"); nav.parent().addClass("show-nav transition");
if (!($('.main-nav .nav-content .footer').length)){ if (!($('.main-nav .nav-content .footer').length)){
$('.main-nav .nav-content').append($('.footer').clone()); $('.main-nav .nav-content').append($('footer .footer').clone());
} }
} }
else { //Close menu else { //Close menu
nav.removeClass('ON').addClass("OFF"); nav.removeClass('ON').addClass("OFF");
nav.parent().removeClass("show-nav"); nav.parent().removeClass("show-nav");
$('.main-nav .nav-content .footer').remove();
} }
setTimeout(function(){ setTimeout(function(){
checkFooterNavPosition(); checkFooterNavPosition();
...@@ -92,6 +93,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){ ...@@ -92,6 +93,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
}).on('click','.scrolled',function(){ }).on('click','.scrolled',function(){
$(this).removeClass('scrolled'); $(this).removeClass('scrolled');
$("html, body").animate({ scrollTop: 0 }, "slow"); $("html, body").animate({ scrollTop: 0 }, "slow");
$('.footer-home-content').find('.nav-content').remove(); $('.footer-home-content').find('.nav-content').remove();
//$('.home-footer-nav .nav-wrapper').css('top','initial'); //$('.home-footer-nav .nav-wrapper').css('top','initial');
$('.home-down-wrapper').css('top','initial'); $('.home-down-wrapper').css('top','initial');
...@@ -398,7 +400,7 @@ $.fn.appendMobileMenu = function(){ ...@@ -398,7 +400,7 @@ $.fn.appendMobileMenu = function(){
$('.search-filter h2').removeClass('show-filter'); $('.search-filter h2').removeClass('show-filter');
$('.filter, .left-panel .map, .details').show(); $('.filter, .left-panel .map, .details').show();
$('.left-panel').appendMap(); $('.left-panel').appendMap();
$('.filter-list').css('margin-top',0); $('.filter-list,#home').css('margin-top',0);
$('.filter-list .top-header').css('top',"initial"); $('.filter-list .top-header').css('top',"initial");
$('.header .nav-wrapper li.to-replace').append($('.mobile-nav .nav-wrapper li.current ul')); $('.header .nav-wrapper li.to-replace').append($('.mobile-nav .nav-wrapper li.current ul'));
$('.mobile-nav .nav-wrapper ul').find('li').remove(); $('.mobile-nav .nav-wrapper ul').find('li').remove();
...@@ -411,6 +413,9 @@ $.fn.appendMobileMenu = function(){ ...@@ -411,6 +413,9 @@ $.fn.appendMobileMenu = function(){
$('.filter-list .top-header, .mobile-nav').css('top',navHeight); $('.filter-list .top-header, .mobile-nav').css('top',navHeight);
$('.mobile-nav .nav-wrapper ul').appendMobileMenu(); $('.mobile-nav .nav-wrapper ul').appendMobileMenu();
$('#slides').height($('.slides-wrapper').width()); $('#slides').height($('.slides-wrapper').width());
if ($('body #home').length){
$('.main').css('padding-top',0);
}
} }
checkFooterNavPosition(); checkFooterNavPosition();
} }
...@@ -541,6 +546,10 @@ function checkFooterNavPosition(){ ...@@ -541,6 +546,10 @@ function checkFooterNavPosition(){
} }
$(window).load( function() { $(window).load( function() {
initFunction(); initFunction();
$('.header .nav-wrapper .nav-content > ul > li').each(function(){
url = $(this).data('img');
$('.img-wrapper').append('<img src='+ url +'>');
})
});//END document load });//END document load
var timer; var timer;
$(window).scroll(function(e) { $(window).scroll(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