fix product image display and remove hover zoom
This commit is contained in:
parent
71652af319
commit
daf74f54da
2 changed files with 16 additions and 1 deletions
|
|
@ -160,6 +160,7 @@ strong {
|
||||||
.icon {
|
.icon {
|
||||||
color: #878787;
|
color: #878787;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon:hover {
|
.icon:hover {
|
||||||
color: $sw-color-brand-primary;
|
color: $sw-color-brand-primary;
|
||||||
}
|
}
|
||||||
|
|
@ -310,10 +311,18 @@ footer {
|
||||||
|
|
||||||
.product-detail-media {
|
.product-detail-media {
|
||||||
.gallery-slider-single-image {
|
.gallery-slider-single-image {
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@include media-breakpoint-up(lg) {
|
||||||
min-height: 800px !important;
|
min-height: 800px !important;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.cms-section-sidebar,
|
.cms-section-sidebar,
|
||||||
.cms-section.alternate {
|
.cms-section.alternate {
|
||||||
background-color: #f2effb;
|
background-color: #f2effb;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{% sw_extends '@Storefront/storefront/element/cms-element-image-gallery.html.twig' %}
|
||||||
|
|
||||||
|
{% block element_image_gallery_inner %}
|
||||||
|
{% set zoom = false %}
|
||||||
|
{{ parent() }}
|
||||||
|
{% endblock %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue