Replies: 0
I’m using the basic version of GeneratePress.
After changes to /inc/add-ons/typography.php the css for .sidebar .widget, .footer-widgets .widget is set to { font-size: 0px; } effectively hiding some widget content for me.
In generate_font_css() the $generate_settings are “incomplete”, eg. the “widget_content_font_size” parameter is missing. That is resulting in the zero px fontsize.
$generate_settings = wp_parse_args(
get_option( 'generate_settings', array() ),
generate_get_default_fonts( true )
);
(add true parameter to generate_get_default_fonts()) Helps, but I don’t know any side effects.
Other option is to test for the keys before the add_property calls.
- This topic was modified 3 minutes ago by joost de keijzer.