Commit 61b1d672 authored by imac's avatar imac

[Bugfix]Crop image

parent 9d85f2b0
...@@ -1108,7 +1108,7 @@ aside.news-wrapper { ...@@ -1108,7 +1108,7 @@ aside.news-wrapper {
} }
.element-slider{ .element-slider{
height: 415px; height: 415px;
background-size: cover; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
} }
...@@ -2062,8 +2062,9 @@ label.chevron.bottom::first-letter { ...@@ -2062,8 +2062,9 @@ label.chevron.bottom::first-letter {
} }
.product-list article figure.small img{ .product-list article figure.small img{
height: 69px; max-height: 69px;
width: 69px; width: auto;
max-width: 69px;
} }
.product-list ul { .product-list ul {
position: absolute; position: absolute;
...@@ -2300,6 +2301,7 @@ div.wpcf7-mail-sent-ok{ ...@@ -2300,6 +2301,7 @@ div.wpcf7-mail-sent-ok{
text-align: center; text-align: center;
} }
/* --------------*/ /* ---------->>> Woocommerce <<<-----------*/ /* --------------*/ /* --------------*/ /* ---------->>> Woocommerce <<<-----------*/ /* --------------*/
.woocommerce-variation-description,
.woocommerce-info, .woocommerce-info,
.woocommerce-product-gallery{ .woocommerce-product-gallery{
display: none !important; display: none !important;
......
...@@ -192,6 +192,9 @@ ...@@ -192,6 +192,9 @@
#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 */
......
...@@ -95,6 +95,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){ ...@@ -95,6 +95,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
$('.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');
$('.footer-home-content').removeClass('fixed');
$('.main').height($(window).height() - $('.nav-header').outerHeight()); $('.main').height($(window).height() - $('.nav-header').outerHeight());
return false; return false;
......
...@@ -34,7 +34,7 @@ do_action('woocommerce_before_add_to_cart_form'); ...@@ -34,7 +34,7 @@ do_action('woocommerce_before_add_to_cart_form');
<h2 class="crete -italic font-small"><?php echo $sub_cat[0]->name ?></h2> <h2 class="crete -italic font-small"><?php echo $sub_cat[0]->name ?></h2>
<h3 class="crete"><?php the_title(); ?></h3> <h3 class="crete"><?php the_title(); ?></h3>
</div> </div>
<span class="close-btn display--only-mobile"></span> <span class="close-btn display--only-mobile close-btn-mobile"></span>
<div class="slides-wrapper center"> <div class="slides-wrapper center">
<div class="row"> <div class="row">
<div class="nav-slider transition"> <div class="nav-slider transition">
......
...@@ -87,7 +87,7 @@ do_action('woocommerce_before_add_to_cart_form'); ...@@ -87,7 +87,7 @@ do_action('woocommerce_before_add_to_cart_form');
<h2 class="crete -italic font-small"><?php echo $sub_cat[0]->name; ?></h2> <h2 class="crete -italic font-small"><?php echo $sub_cat[0]->name; ?></h2>
<h3 class="crete"><?php the_title();?></h3> <h3 class="crete"><?php the_title();?></h3>
</div> </div>
<span class="close-btn display--only-mobile"></span> <span class="close-btn display--only-mobile close-btn-mobile"></span>
<div class="slides-wrapper center"> <div class="slides-wrapper center">
<div class="row"> <div class="row">
<div class="nav-slider transition"> <div class="nav-slider transition">
......
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