How to fix Slideshow not being displayed on mobile?

How to fix Slideshow not being displayed on mobile?

D2RGEAR
Excursionist
40 0 1

Hello,

 

https://d2rgear.com/

 

D2RGEAR_0-1694499636486.png


The slideshows in the above image are not being displayed on mobile (pictured down below):

D2RGEAR_1-1694499693874.png


Can this be fixed?

Regards

Replies 11 (11)
D2RGEAR
Excursionist
40 0 1

That option is not available in theme settings.

salmanmukhtar
Shopify Partner
19 2 2

@D2RGEAR 

 

In your base.css file, add this code at the bottom:

 

@media screen and (min-width:320px) and (max-width:767px){
#shopify-section-template--14369092108584__c6922214-0aa3-456b-8b04-e24805762fae .slideshow__controls.slider-buttons {
    display: flex;
}
#shopify-section-template--14369092108584__c6922214-0aa3-456b-8b04-e24805762fae  .slideshow.banner {
    height: 100px !important;
    min-height: 100px;
}
}
Feel Free to reach out to me at:
letstalk@devsinn.co or smfedeveloper@gmail.com
for Shopify Design and Development Services.


I am a coffee lover, so buy me a coffee here if my solution works 🙂 Buy me A Coffee
D2RGEAR
Excursionist
40 0 1

D2RGEAR_0-1694500775303.png

D2RGEAR_1-1694500843846.png


It's showing up now, but it's showing up incorrectly. It shows an image, if I disable the highlighted option in the second image; however, it doesn't display the text.

salmanmukhtar
Shopify Partner
19 2 2

Can you resume this for a while so that I can debug and share updated css with you? Also please put the css code I sent to you. 

Feel Free to reach out to me at:
letstalk@devsinn.co or smfedeveloper@gmail.com
for Shopify Design and Development Services.


I am a coffee lover, so buy me a coffee here if my solution works 🙂 Buy me A Coffee
D2RGEAR
Excursionist
40 0 1

Yes, it should be resumed now.

salmanmukhtar
Shopify Partner
19 2 2

Yes can you enable that option as well from theme settings?

Feel Free to reach out to me at:
letstalk@devsinn.co or smfedeveloper@gmail.com
for Shopify Design and Development Services.


I am a coffee lover, so buy me a coffee here if my solution works 🙂 Buy me A Coffee
D2RGEAR
Excursionist
40 0 1

It's enabled when you see no image.

 

When it's disabled, the image displays.

I disabled it.

Also, there are two slideshows. They're very close, so it looks like one.

D2RGEAR_0-1694501439921.png


The "previous" and "next" buttons are not needed.

salmanmukhtar
Shopify Partner
19 2 2

Checking now

Feel Free to reach out to me at:
letstalk@devsinn.co or smfedeveloper@gmail.com
for Shopify Design and Development Services.


I am a coffee lover, so buy me a coffee here if my solution works 🙂 Buy me A Coffee
salmanmukhtar
Shopify Partner
19 2 2
@media screen and (min-width:320px) and (max-width:767px){
.banner--small:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
    min-height: inherit;
}
}

Please add this, it will show up like this:

salmanmukhtar_0-1694501640097.png

 

Feel Free to reach out to me at:
letstalk@devsinn.co or smfedeveloper@gmail.com
for Shopify Design and Development Services.


I am a coffee lover, so buy me a coffee here if my solution works 🙂 Buy me A Coffee
salmanmukhtar
Shopify Partner
19 2 2
@media screen and (min-width:320px) and (max-width:767px){
#shopify-section-template--14369092108584__c6922214-0aa3-456b-8b04-e24805762fae .slideshow__controls.slider-buttons {
    display: none;
}
}

To hide next, previous arrows

Feel Free to reach out to me at:
letstalk@devsinn.co or smfedeveloper@gmail.com
for Shopify Design and Development Services.


I am a coffee lover, so buy me a coffee here if my solution works 🙂 Buy me A Coffee
D2RGEAR
Excursionist
40 0 1

It's either showing the text with no image or an image with no text.

Also, the other slideshow isn't displaying at all.