How to have submitted email text colour different to the Website form colour

By: Jake Forsyth | Asked: 06/10/2024
ForumsCategory: How-toHow to have submitted email text colour different to the Website form colour
Jake Forsyth asked 6 months ago
Hi There The background colour of my site is dark green so I have styled the text to be white instead of black so the text will be visible on the website form but when I submit the form the text in the submitted email is also white making the text not visible in the email body. How do I change the colour of the submitted form text? Thanks 
3 Answers
Rob LeVineRob LeVine answered 6 months ago
How did you style the text to be white? Be specific.
Jake Forsyth answered 6 months ago

In the Field colours settings in the Formidable Forms Styles section.

Rob LeVineRob LeVine replied 6 months ago

Then I can see why it's happening :). I suggest creating your own style in the Before Fields section of Settings -> Customize HTML that changes the font color. In theory that won't be picked up by the notification email. Another way around it is to change the HTML in the notification email to override the font color.

Jake Forsyth answered 6 months ago
Thank you for that, Is the perhaps any documentation that covers this?
Rob LeVineRob LeVine replied 6 months ago

Both suggestions involve fundamental CSS and aren't Formidable issues, so there's no documentation per se. The only thing I can add is that for the second suggestion, you can go into the email notification action, delete the [default-message] shortcode in the Message section, click the ... in the bottom right of the Message section, click the Advanced tab and choose Default HTML. This will fill the window with the HTML that is generated for the message and you can add your CSS there. The downside of this is that if you add/remove fields from your form, you'll have to manually update the HTML.

Jake Forsyth replied 6 months ago

Thank you so much Rob, muchly appreciated

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right