Re: Change text color in a specific button - Theme Dawn 7.01

Solved

Change text color in a specific button - Theme Dawn 7.01

Dekanten
Navigator
343 2 121

Hello

 

I have tried several things without luck, hope someone can help me out. 🙂

 

The text is black and i want to change it in white instead. 🙂 (Skriv en anmeldelse)

 

Skjermbilde 2024-07-25 kl. 21.18.47.png

 

My url:

www.dekanten.no

 

Thanks in advance

Accepted Solution (1)

Entesta
Shopify Partner
80 8 20

This is an accepted solution.

Hi @Dekanten 

It looks like you have set the color with the style tag and !important flag directly for that button. It needs to be removed from the element by accessing the theme code.

You will have to check the right file where the following code exists.

<a style="color: #000000 !important;" href="/products/guerlain-angelique-noire?fera=review" class="text-link button button--secondary fera-productReviews-writeReviewLink" data-fera-action="showContentSubmission" data-fera-translate-contents="">Skriv en anmeldelse</a>

 
If incase you are having trouble finding it, you can give us the access to edit code and we can help you out with it.

Thanks.

We value your feedback! Let us know if this helped by giving it a thumbs up or marking it as a solution or buy us a coffee.
Looking for Shopify experts to help you with your website? We are just one click away. Drop an email or say hi on WhatsApp to initiate a request support@entesta.com | +91 79083 21294
Entesta - Powering Your E-Commerce Journey with Shopify Expertise

View solution in original post

Replies 5 (5)

Entesta
Shopify Partner
80 8 20

This is an accepted solution.

Hi @Dekanten 

It looks like you have set the color with the style tag and !important flag directly for that button. It needs to be removed from the element by accessing the theme code.

You will have to check the right file where the following code exists.

<a style="color: #000000 !important;" href="/products/guerlain-angelique-noire?fera=review" class="text-link button button--secondary fera-productReviews-writeReviewLink" data-fera-action="showContentSubmission" data-fera-translate-contents="">Skriv en anmeldelse</a>

 
If incase you are having trouble finding it, you can give us the access to edit code and we can help you out with it.

Thanks.

We value your feedback! Let us know if this helped by giving it a thumbs up or marking it as a solution or buy us a coffee.
Looking for Shopify experts to help you with your website? We are just one click away. Drop an email or say hi on WhatsApp to initiate a request support@entesta.com | +91 79083 21294
Entesta - Powering Your E-Commerce Journey with Shopify Expertise
Dekanten
Navigator
343 2 121

Hi and thanks for the advice, i find the code in main.product.liquid and changed it from there. Everything is just fine now. 🙂

Entesta
Shopify Partner
80 8 20

Amazing @Dekanten . Please do consider marking it as an answer if it helped.

Thank you.

We value your feedback! Let us know if this helped by giving it a thumbs up or marking it as a solution or buy us a coffee.
Looking for Shopify experts to help you with your website? We are just one click away. Drop an email or say hi on WhatsApp to initiate a request support@entesta.com | +91 79083 21294
Entesta - Powering Your E-Commerce Journey with Shopify Expertise
Dekanten
Navigator
343 2 121

I have done that now so everything is just fine. 🙂

Entesta
Shopify Partner
80 8 20

Thank you so much.

We value your feedback! Let us know if this helped by giving it a thumbs up or marking it as a solution or buy us a coffee.
Looking for Shopify experts to help you with your website? We are just one click away. Drop an email or say hi on WhatsApp to initiate a request support@entesta.com | +91 79083 21294
Entesta - Powering Your E-Commerce Journey with Shopify Expertise