How to Change the Color of the Sample Button?
You can change the text color and background color of the sample button from Basic Configuration.
This helps the Order a Sample button match your store’s branding or stand out next to Add to cart.
In The Article
How to change the sample button color
- Go to Dotstore Plugins > Product Sample and open the Manage Sample tab and open Basic Configuration.
- Use Sample Button Color to set the text Color and the Background color.
- Click Save Changes.
- Open a product page on the storefront to confirm the button colors.
Pro Tips
- Choose a background color that contrasts with the button text so the label stays readable.
- If you need more than color, enable Sample Button Advanced Styles in Basic Configuration to adjust border, font, margin, and padding.
- Check the button on both the product page and, if it is visible, the shop page.
Common Use Cases
Here are some popular ways to use button colors:
1. Match your store’s brand colors
Set Sample Button Color to your brand text and background colors so the button fits the rest of the page.
2. Make the sample button stand out
Use a contrasting background color so shoppers can quickly find Order a Sample next to Add to cart.
FAQs
1. Where do I change the sample button color?
Go to Dotstore Plugins > Product Sample and open the Manage Sample tab, open Basic Configuration, and use Sample Button Color to set the text Color and Background.
2. Can I also change the button size or border?
Yes. Enable Sample Button Advanced Styles in Basic Configuration to set border, font size, font weight, margin, and padding.