Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1487756

    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

    #1487782

    Hey jenscasper,
    I’m not sure how to want the button changed:
    Screen Shot 2025 08 09 at 7.51.36 AM
    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

    #1487815

    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

    #1487817

    Hi,
    In the functions.php file.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.