Lato hardcoded to Integrity-Light CSS

Hi - While styling the widgets, I discovered that the recent posts and recent comments were hardcoded as font-family:"Lato","Helvetica Neue",Helvetica,Arial,sans-serif;

None of the other stacks behave this way.

Out of an abundance of caution, I created a completely clean install, uploaded pro and a child theme to verify.

Attached are screenshots of Integrity and Renew using Baskerville for the body copy. Icon and Ethos were able to correctly display Baskerville as well.

Is there a way to resolve this so that the widgets display with the assigned font from the theme options? If not, what’s the workaround in the meantime?

Hello @WaggingLabs,

Thanks for writing in! The default Integrity Light stack styles contains this CSS code:

.widget.widget_recent_entries li a {
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.widget_recent_comments li>a:last-child {
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
}

Feel free to modify and change the font family to inherit so that it inherits the font of the widget container instead. You need to add the modifed CSS code into X > Theme Options > CSS .

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.