Skip Navigation

[Resolved] How to combine google font CSS

This support ticket is created 5 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by jimmyN 5 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1275279

I am trying to:combine the files

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:
The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 30.3KiB.

hidden link
hidden link

#1275289

Hi, since your theme loads a higher version (5.2.2) than Toolset loads, you can probably dequeue Toolset's version and just use the version that comes with the theme. I don't have a copy of the WPResidence theme to test this out, but you can try adding this custom code snippet in your child theme's functions.php file, or in a new code snippet in Toolset > Settings > Custom Code:

add_action( 'wp_enqueue_scripts', 'remove_default_fa_stylesheet', 25 );
function remove_default_fa_stylesheet() {
    wp_dequeue_style( 'font-awesome' );
    wp_dequeue_style( 'font-awesome-css' );
    wp_deregister_style( 'font-awesome' );
    wp_deregister_style( 'font-awesome-css' );
}

If this doesn't work, I'll need to work with a copy of the theme to see if we can come up with a better solution.

#1275299
2019-06-23_17-28-43.png

Hi I got this error here. Thanks.

#1275749

It looks like some single-quotation mark characters were converted incorrectly during your copy + paste. Can you take a look at the original and your copy + paste code, and make the correct adjustments?

#1275845

My issue is resolved now. Thank you!

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.