Submit button font incorrectly says ‘inherit’
-
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 thefont-family
it should NOT be wrapped in single quotes. It should also NOT havesans-serif
on it. It should simply befont-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
- The topic ‘Submit button font incorrectly says ‘inherit’’ is closed to new replies.