.widget font-size set to 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 togenerate_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.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘.widget font-size set to 0’ is closed to new replies.