• Resolved Jon

    (@freshyjon)


    Within Divi, if we leave the Button Style to have a Buttons Font of “Default Theme Font” (https://i.imgur.com/sAHPpW8.png), it causes your Gravity Forms button styling to have a:

    font-family: 'inherit', sans-serif;

    It also causes letter-spacing to be blank, with:

    letter-spacing: px;

    When using inherit in the font-family it should NOT be wrapped in single quotes. It should also NOT have sans-serif on it. It should simply be font-family: inherit.

    Because you are wrapping it in single quotes, it causes the inherit to actually not work.

    I realize we can fix this by specifically changing the Buttons Font to be a specific font within the Theme Customizer, but your needs to still work correctly if we leave it set to “Default Theme Font”.

    Can you look into this? I think there is something wrong within your PHP variables of $button_text_style or $all_buttons_font

    Screenshot of the problem: https://i.imgur.com/bgAckMz.png

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Surbma

    (@surbma)

    Hi @freshyjon,

    thank you for letting me know this bug. I’m using Divi’s own functions to print these styles, but it seems, I need to implement some conditions to check if these values are empty. I will fix this soon and update the plugin.

    Thank you again for the detailed report!

    Plugin Author Surbma

    (@surbma)

    @freshyjon The new version (3.0) is out and it fixed the mentioned bug. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Submit button font incorrectly says ‘inherit’’ is closed to new replies.