debut theme button colors

Solved
Highlighted
New Member
6 0 0

Hi everyone,

I've got some problems with my buttons on my shop (www.thor-athletics.com) The buttons should be yellow with black letters in it but some of the buttons on the home page + the add to cart button have a white background with yellow text wich is not what I want.

I tried to past codes in the theme.css.liquid file but it's not working, some say it should be in the theme.scss.liquid file but there is none.

Please help me out,

Thanks in Advance.

Martijn

0 Likes
Highlighted

Hi there,
Jack from OpenThinking here!

Paste the following code to your assets/theme.css file at the very bottom.

.btn--secondary,.btn--secondary-accent {
	color: black !important;
	border-color: transparent !important;
	background-color: #EEFF00 !important;
}



let me know if this works for your. If yes; accept my answer and give me thumbs up! Thank you.

⚡️ [Shopify Themes]: Lightning-fast, Highly converting, SEO-optimized, Minimal.
⚡️ Need help with your store? [Get a quote]
0 Likes
Highlighted

p.s. your website doesn't work with the www. subdomain prefixed. You might want to fix that as well!

⚡️ [Shopify Themes]: Lightning-fast, Highly converting, SEO-optimized, Minimal.
⚡️ Need help with your store? [Get a quote]
0 Likes
Highlighted
New Member
6 0 0

I will try and check the codes now. Thanks for the other tip too, just saw it.

Realy have no idea at all how to fix that (totally new to all this website building etc) do you have any clue?

0 Likes
Highlighted
New Member
6 0 0

Just did paste the code at the bottom of the theme.css.liquid file and refreshed the site, didn't change.

0 Likes
Highlighted

This is an accepted solution.

That's strange.

If you can't find the right file add the code in your layout/theme.liquid file just before </head><body> tag.

the code you've to add looks like this:

 

 

<style>
.btn--secondary,.btn--secondary-accent {
	color: black !important;
	border-color: transparent !important;
	background-color: #EEFF00 !important;
}
</style>

 

 

Screenshot 2020-10-30 at 14.52.26.png

Yes, Shopify has a well documented article about Domains here: https://help.shopify.com/en/manual/online-store/os/domains/add-a-domain/using-existing-domains/conne...

 

if this answered your questions accept my answer and give me thumbs up! Thank you.

 

⚡️ [Shopify Themes]: Lightning-fast, Highly converting, SEO-optimized, Minimal.
⚡️ Need help with your store? [Get a quote]
1 Like
Highlighted
New Member
6 0 0

The code worked, amazing! thanks so much. Will look into the www domain thing right now too!

0 Likes