Product image disappears in mobile view

Solved
Ricardo1709
Tourist
5 0 2

Hi Guys, 

 

In there is tab collapse with a black background. However I tried using Css code to change the background but only the section change but that specific colors stays black. Could someone shed some light on why that block is staying black and how I can change it too white to match the rest of the theme. 

 

I tried other alternatives such as deleting the tab all together but then my product image disappears in mobile view. 

 

Here is the preview link below

https://ftskom9bvfx8ml70-31681544325.shopifypreview.com

 

Accepted Solution (1)
shreyhweb
Shopify Partner
536 95 97

This is an accepted solution.

@Ricardo1709 

 

Hello 

 

please add below code above </body> in theme.liquid

 

online store >> edit code >> theme.liquid

 

<style>
@media screen and (max-width: 767px) {
.slider-product-main div.hidden{
display:block!important;
}
.liv-tabs-faq .bg-black.my-tab-liv{
background: #dfb2bc91!important;
}
}
</style>

 

after added

shreyhweb_0-1686341020812.png

 

shreyhweb_1-1686341044121.png

 

if you discuss further information then you can contact us

 

Thankyou 🙂

Shreyh Soft Solutions | Shopify Partners | Ecommerce Solutions
- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
For fast communicate Whatsapp - +917440308339

- Please Follow our Linkedin - Shreyh Soft Solutions

View solution in original post

Replies 5 (5)
made4Uo
Shopify Partner
3756 709 1077

Hi @Ricardo1709 

 

Please follow the instructions below

1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Asset folder and open the theme-styles.css file
3. At very end of the code, add the code below

 

@media only screen and (max-width: 750px) {
.hidden.mt-6.w-1\/6.max-w-2xl.sm\:block.lg\:max-w-none {
    display: block
}
}

 

 

Result here:

made4Uo_0-1686340411349.png

 

 

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!
shreyhweb
Shopify Partner
536 95 97

This is an accepted solution.

@Ricardo1709 

 

Hello 

 

please add below code above </body> in theme.liquid

 

online store >> edit code >> theme.liquid

 

<style>
@media screen and (max-width: 767px) {
.slider-product-main div.hidden{
display:block!important;
}
.liv-tabs-faq .bg-black.my-tab-liv{
background: #dfb2bc91!important;
}
}
</style>

 

after added

shreyhweb_0-1686341020812.png

 

shreyhweb_1-1686341044121.png

 

if you discuss further information then you can contact us

 

Thankyou 🙂

Shreyh Soft Solutions | Shopify Partners | Ecommerce Solutions
- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
For fast communicate Whatsapp - +917440308339

- Please Follow our Linkedin - Shreyh Soft Solutions
Ricardo1709
Tourist
5 0 2

Thank you so much, how can I make it white for both the mobile and desktop version?

Ricardo1709
Tourist
5 0 2

Fixed already!

shreyhweb
Shopify Partner
536 95 97

You can change the background color code in the given code.

Shreyh Soft Solutions | Shopify Partners | Ecommerce Solutions
- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
For fast communicate Whatsapp - +917440308339

- Please Follow our Linkedin - Shreyh Soft Solutions