Change text color on the variant pills on product pages for theme Dawn

Solved

Change text color on the variant pills on product pages for theme Dawn

Jean-Philippe42
Visitor
2 0 3

I try to change the text color of the variant pills for the theme Dawn .
It is bare visible.

 

JeanPhilippe42_0-1722246398825.png

 



I achieved to do it for other elements but I am not able to find where I can change this... I need to change the enable and disable state.

The link to the page ist here:
https://shop.diastierwelt.de/products/jugendelexier

Is somebody know that?

Thanks!

 

Accepted Solution (1)

niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

Hello @Jean-Philippe42 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .product-form__input input[type=radio].disabled:checked+label{
       color: #5767dd !important;
   }
   .product-form__input input[type=radio].disabled+label {
        color: #5767dd !important;
   }
</style>

techlyser_web_0-1722247577572.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 6 (6)

ZestardTech
Shopify Partner
6096 1091 1464

Hi @Jean-Philippe42 

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:

 

 

.product-form__input input[type=radio].disabled:checked+label, .product-form__input input[type=radio]:disabled:checked+label {
background: #000;
color: #fff;
}
.product-form__input input[type=radio]:disabled+label, .product-form__input input[type=radio].disabled+label {
background: #000;
color: #fff;
}
.product-form__input input[type=radio]:checked+label {
    background: #000;
    color: #fff;
}
.product-form__input input[type=radio]+label {
    background: #000;
    color: #fff;
}

 

 

ZestardTech_0-1722246694261.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

Made4uo-Ribe
Shopify Partner
10036 2387 3013

Hi @Jean-Philippe42 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.product-form__input input[type=radio].disabled:checked+label, .product-form__input input[type=radio]:disabled:checked+label {
    color: black;
}
.product-form__input input[type=radio]:disabled+label, .product-form__input input[type=radio].disabled+label {
    color: white;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1722246859801.png

     

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

Rahul_dhiman
Shopify Partner
766 145 157

Hello @Jean-Philippe42 
Go to online store ---------> themes --------------> actions ------> edit code------->assets ---> section-main-product.css
ad this code at the end of the file.

.product-form__input input[type=radio].disabled:checked+label, .product-form__input input[type=radio]:disabled:checked+label {
color: red !important;
}
.product-form__input input[type=radio]:disabled+label, .product-form__input input[type=radio].disabled+label {
color: red !important;
}

and the result will be
4.png


If this was helpful, hit the like button and mark the job as completed.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

Hello @Jean-Philippe42 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .product-form__input input[type=radio].disabled:checked+label{
       color: #5767dd !important;
   }
   .product-form__input input[type=radio].disabled+label {
        color: #5767dd !important;
   }
</style>

techlyser_web_0-1722247577572.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Jean-Philippe42
Visitor
2 0 3

Thanks! It work well now!

BSS-TekLabs
Shopify Partner
2401 695 831

- Here is the solution for you @Jean-Philippe42 
- 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.

.product-form__input input[type=radio].disabled+label {
    color: white !important;
}
.product-form__input input[type=radio].disabled:checked+label {
 color: black !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1722254999403.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