Hello everyone,
I’m beginner in Shopify and I try to learn myself coding ![]()
So I want to see banerimage on web & banermobile on mobile. I can’t fix it.
This is the template code:
(I add myself blocks banermobile class=“mobile” and mobile.jpg?v=1619698723)
Thank you for your help
Alexandrek
{% if section.blocks.size > 0 %}
{% for block in section.blocks %}
{% if block.type == "slideshow" %}
{% if block.settings.block_banerimage != blank %}
{% else %}
{% endif %}
.section-slideshow-v3 {
.slick-dots{
bottom: 50px;
left: 50%;
transform: translateX(-50%);
width: unset;
li{
margin: 0 3px;
button{
&:before{
opacity: 0;
}
font-size: unset;
line-height: 20px;
position: absolute;
top: 0;
left: 0;
width: 12px;
height: 12px;
border: 2px solid #fff;
border-radius: 50%;
}
}
.slick-active{
button{
background-color: #fff;
}
}
@media only screen and (max-width: 576px) {
bottom: 20px;
}
@media only screen and (min-width: 576px) {
bottom: 30px;
}
}
.slick-dotted.slick-slider {
margin-bottom: 0px;
padding: 0;
}
.info-sideh3 {
position:relative;
.picture-slideshow {
overflow: hidden;
img {
width: 100%;
transform: scale(1.1);
transition: all 8s ease;
@media only screen and (max-width: 576px) {
min-height: 400px;
object-fit: cover;
}
}
}