Solved

My Code Works On My Desktop and on the Desktop Mobile Preview but not on the actual mobile

Pipsandoats
Tourist
10 0 2

Hello so i have been doing some coding to upgrade the look of my website, while doing a reviews page I have wanted to make the separation line between the picture and the review to be the same as the background picture and I have thought I have done it as it changes on both the desktop view and the desktop mobile preview but not on the actual mobile. This is the code I used... 

 

}

.vtl-pr-review-card__main-photo-holder {
background-color: #C9C69C !important;

 

Screenshot 2024-03-20 at 13.57.16.pngIMG_0388.PNG

 

My second issue is very small but very annoying it's the same issue as the first problem it works with desktop but not with mobile. It's regarding the  lines underlining the shipping, description and our guarantee,  this is the code I have used for that

 

}

.vt-accordion {
border-bottom: 1px solid #222222 !important

 

}

 

IMG_0389.PNGScreenshot 2024-03-20 at 14.11.18.png

All the help will be appreciated 

Accepted Solution (1)
ThePrimeWeb
Shopify Partner
2127 608 473

This is an accepted solution.

The code is ok, you just have to add it to a different place.

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
.vtl-pr-review-card__main-photo-holder {
    background-color: #C9C69C !important;
}

.vt-accordion {
    border-bottom: 1px solid #222222 !important
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1710941845844.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!

View solution in original post

Replies 4 (4)

ThePrimeWeb
Shopify Partner
2127 608 473

Hey @Pipsandoats,

 

Can you share the link to your store and password (if any) or disable the password temporarily

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
Pipsandoats
Tourist
10 0 2

Hello this is the link https://pipsandoats.com/ !

ThePrimeWeb
Shopify Partner
2127 608 473

This is an accepted solution.

The code is ok, you just have to add it to a different place.

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
.vtl-pr-review-card__main-photo-holder {
    background-color: #C9C69C !important;
}

.vt-accordion {
    border-bottom: 1px solid #222222 !important
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1710941845844.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
Pipsandoats
Tourist
10 0 2

Thank You so much for such a quick reply and for figuring it out works perfectly now!