May 2, 201910:51 AM - edited May 2, 201910:51 AM
Member
Button Color in Custom Module for Email
Hey everyone -- I'm having trouble getting color-fields to work for a button I've built in a custom module. It appears as if the color picker gets overridden. The button just stays the normal blue link color.
Can someone tell me what the 'color-field' tag produces when styling inline? Or is there any best practices for building buttons for email in a custom module? I'd like to have this built to be able to use in the new drag & drop editor. I would use the native button in the d&d editor, but our brand style is to have an outlined button. In the classic editor I've been achieving this without issue by using the bulletproof button from Stig at Campaign Monitor in a rich text module.
We're also trying to avoid using CTAs for various reasons in our email, but also because we feel they don't render well (especially on apple devices).
Here's the current code I've been using in the custom module:
All of the fields for the custom module work correctly, except for the color fields that I've implemented for the button fill, button outline & button text color.