I want to decrease the size of discount % on phone version of my website

I want to decrease the size of discount % on phone version of my website

attackon
Explorer
117 0 21

the discount % and coming soon are looking pretty big on my phone hiding the design on my t-shirt whose store link is https://swawe.store/ and password - omgIMG_0165.jpg

Replies 3 (3)

oscprofessional
Shopify Partner
16373 2440 3188

Hello @attackon 

Follow the steps
Go to Online Store > Theme > Edit Code > base.css file 

@media screen and (max-width: 749px) {
.badge {
font-size: 10px;
padding: .5rem 0.7rem .3rem;
}

}

Thanks




Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...

BSS-TekLabs
Shopify Partner
2401 695 835

- Here is the solution for you @attackon 
- Please follow these steps:

step.png

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

@media only screen and (max-width: 600px) {
.card__badge .badge {
    padding: .4rem 1rem .4rem !important;
    font-size: 1.1rem !important;
}
}

- Here is the result you will achieve:

BSSTekLabs_0-1721916915108.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSS-TekLabs
Shopify Partner
2401 695 835

Hi @attackon,

Here are the steps you can follow:

1, Navigate to Online Store > Themes > Edit Code.

2, Locate and open the base.css (or theme.css, custom.css) file.

3, Paste the code snippet provided below at the bottom of the file, then save your changes.

 

@media screen and (max-width: 749px) {
    .card__badge span {
        /* You can adjust this value according to your preference */
        font-size: 8px;
        padding: 0.25rem 0.5rem;
    }
}

 

Here is the result

BSSTekLabs_0-1721917395424.png

We hope this assists in resolving the issue.

If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now