• Resolved user9876789

    (@user9876789)


    I’ve been working on improving my site’s performance and Google PageSpeed Insights has flagged an issue with how the plugin loads Google Fonts. Specifically, the file:

    /wp-content/plugins/cbxwpbookmark/assets/css/cbxwpbookmark-public.css

    …includes this line at the top:

    @import url('https://fonts.googleapis.com/css2?family=DM+Sans&display=swap');

    Instead of using @import inside the CSS file, the font could be enqueued in WordPress using wp_enqueue_style().

    Would you be able to look at this? thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘@import CSS’ is closed to new replies.