Customize button styles and CSS
Change the appearance of the Customize button and apply CSS adjustments to the Chamevo product customizer.
Chamevo adds a Customize button to your product pages and renders the product customizer with its own styles. You can adjust the button appearance, add CSS classes, and apply custom CSS to match your theme.
Change the Customize button style
Add CSS classes
- Go to Chamevo β Settings β General β Layout.
- Find Customize Button CSS Classes.
- Enter one or more CSS classes (without the dot prefix). The default is
fpd-secondary-btn.
Examples:
- Use your theme's button class (e.g.,
btn btn-primary) to match the theme style. - Add multiple classes separated by spaces.
Change the button position (WooCommerce)
- Go to Chamevo β Settings β WooCommerce β Product Page.
- Set Customization Button Position:
- After Short Description β below the product excerpt.
- Before Add-to-Cart Button β directly above the Add to Cart button.
- After Add-to-Cart Button β directly below the Add to Cart button.
Replace Add-to-Cart in catalog listings
- Go to Chamevo β Settings β WooCommerce β Catalog Listing.
- Set Customize Button Position:
- Replace Add-to-Cart button β replaces the default button with the Customize button.
- End of Catalog Item β adds the button at the end of the product card.
Apply custom CSS
Add custom CSS to your theme or via Appearance β Customize β Additional CSS in WordPress.
Common CSS adjustments
Change the Customize button color:
.fpd-secondary-btn {
background-color: #3498db;
color: #ffffff;
border: none;
}
.fpd-secondary-btn:hover {
background-color: #1d8ad3;
}
Adjust the customizer container width:
.fpd-container {
max-width: 100%;
}