Commit 35e17ce7 authored by imac's avatar imac

[Bugfix] Responsive

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