Dear Sir or Madam,
Could you please help me solve the following problem? When using the Gravity Forms plugin and the Enfold theme, the font and color of the buttons are not displayed correctly. You can find the corresponding form at the link below.
Best regards,
Jens Casper
Hey jenscasper,
I’m not sure how to want the button changed:
but the font, color, and background color are from the plugin:
color: var(--gf-local-color);
font-family: var(--gf-local-font-family);
background-color: var(--gf-local-bg-color);
at: /wp-content/plugins/gravityforms/assets/css/dist/gravity-forms-theme-framework.min.css
note the “gf” in the css var, this is from Gravity Forms and not Enfold.
Perhaps Gravity Forms is only using the theme standerd colors and not appling their own colors, so to match whatever theme is active?
If you explain how you want it changed we can help override this with css.
Best regards,
Mike
Thank you for your feedback! I believe the problem lies in the fact that legacy markup is disabled in Gravity Forms. According to the description on the following page https://docs.gravityforms.com/gform_enable_legacy_markup/, the following code “add_filter( ‘gform_enable_legacy_markup’, ‘__return_true’ )” must be installed in the functions.php file. Where do I need to enter this in Enfold?
Best regards, Jens