How to set Advanced button styling for sample button?
You can customize the sample button’s appearance with advanced styling options, including border color, border width, font size, font weight, margin, and padding.
Enable Sample Button Advanced Styles in Basic Configuration, then set the style options and save your changes.
In The Article
How to set advanced button styles
- Go to Dotstore Plugins > Product Sample and open the Manage Sample tab and open Basic Configuration.
- Turn on Sample Button Advanced Styles.
- Set the available style options, such as border color, border width, font size, font weight, margin, and padding.
- Click Save Changes, then check the button on a product page.
Pro Tips
- Set Sample Button Color first for text and background, then use Sample Button Advanced Styles for border, font, and spacing.
- Use padding and margin carefully so the button still aligns well next to Add to cart.
- Check the button on desktop and mobile after you save.
Common Use Cases
Here are some popular ways to use advanced styles:
1. Match the button to your theme
Adjust font size, font weight, and border so the sample button looks consistent with your theme’s Add to cart button.
2. Add space around the button
Use margin and padding so the sample button is easier to tap and does not sit too close to other product-page elements.
FAQs
1. Where do I enable advanced button styles?
Go to Dotstore Plugins > Product Sample and open the Manage Sample tab, open Basic Configuration, and turn on Sample Button Advanced Styles.
2. Which style options can I change?
You can customize border color, border width, font size, font weight, margin, and padding.