Shopify themes, liquid, logos, and UX
Hi
I am struggling to change the colour of the following buttons on my product page.#
- variant pill selector
- checkout
- add to cart
I am using the ride theme , -
can anyone advise?
thanks
Solved! Go to the solution
This is an accepted solution.
Hi @nightscare
You can follow the following steps:
1. Please go to the Online Store
2. Then Edit Code
3. Please find the theme.liquid file
4. And add the following code in theme.liquid file above the </head> tag
<style>
.product-form__input input[type=radio]:checked+label {
background-color: rgb(223,189,99);
}
button#ProductSubmitButton-template--20490219225376__main {
background-color: rgb(223,189,99);
}
</style>
If this solution is worked, then please Like this and Mark this as accepted solution!
Laddi
This is an accepted solution.
Hi @nightscare
You can follow the following steps:
1. Please go to the Online Store
2. Then Edit Code
3. Please find the theme.liquid file
4. And add the following code in theme.liquid file above the </head> tag
<style>
.product-form__input input[type=radio]:checked+label {
background-color: rgb(223,189,99);
}
button#ProductSubmitButton-template--20490219225376__main {
background-color: rgb(223,189,99);
}
</style>
If this solution is worked, then please Like this and Mark this as accepted solution!
Laddi
thanks, this worked!
can you advise how i can do the choose options buttons on this page?
also on the pop up page that appear after you click the choose options?
Im not entirely sure why these buttons are the colour they are, none of my colour schemes are set to that,
thanks
Hi @nightscare ,
This is David at SalesHunterThemes.
Ride theme supports colors scheme allowing us to change the color of the theme, you can use function to change color button. However they have limits.
I recommend that the color of the buttons should be consistent and using one main color will make your theme more harmonious.
You can try to follow these steps:
Go to Online Store -> Themes -> Actions -> Edit code.
Go Assets folder -> base.css file.
Add this following code at the bottom of page.
.button.product-form__submit,
.product-form__input input[type=radio]:checked+label {
background-color: #e1be64 !important;
color: #000 !important;
}
result:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
David | SalesHunterThemes team
We create fast Shopify themes, focusing on exceptional performance and seamless experience across all devices.
Try our Electro theme Free! (Now at Black Friday price)
Add these codes to your CSS, And the color codes can be customized as you wish. hope it will work.
.product-form__input input[type="radio"] + label {
background-color: beige;
color: rgba(var(--color-foreground));
color: blue;
}
.product-form__input input[type="radio"]:checked + label {
background-color: red;
color: White;
}
Hello @nightscare
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->section-main-product.css>Add this code at the bottom.
button#ProductSubmitButton-template--20490219225376__main {
background: #e1be64 !important;
}
.product-form__input input[type=radio]:checked+label {
background: #e1be64 !important;
}
User | RANK |
---|---|
137 | |
97 | |
79 | |
62 | |
61 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023