Shopify themes, liquid, logos, and UX
Hello, I am using a Shrine Theme on my Shopify store, and for some reason, the discount badges on mobile view are displaying extremely large. On Desktop it looks great, it just looks a little weird when viewing on mobile. is anyone able to fix this? Here is the link to my website so you can view it for yourself:
Desktop:
Mobile:
Solved! Go to the solution
This is an accepted solution.
Hey @robertbarta,
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>
@media only screen and (max-width: 989px) {
.badge {
font-size: 1rem !important;
}
.card--media .card__inner .card__content {
padding-top: 5px !important;
padding-left: 5px !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
This is an accepted solution.
Hey @robertbarta,
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>
@media only screen and (max-width: 989px) {
.badge {
font-size: 1rem !important;
}
.card--media .card__inner .card__content {
padding-top: 5px !important;
padding-left: 5px !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024