[Resolved] Also need to change google font loading

  • Author
    Posts
  • #17112

    knupp
    Participant

    Hello Andrew,

    Like S before me, I also need to change where my fonts are being loaded. I have tried OMGF fonts though and it doesn’t seem to work (although I might be missing something, a setting or so?). I have tried another plugin before that called “Local google fonts”, but that doesn’t find all the fonts either. Can you please help me? I am a bit worried because this could get really expensive. The site I need help with is wilde-saiten.de. Thank you very much

    #17114

    Andrew Misplon
    Keymaster

    Hi Knupp

    Thanks for getting in touch. Please, take a screenshot of your OMGF settings and upload the screenshot to your Media Library or any online location and share the link. If you could perhaps also share a link to your site, that would helpful.

    #17124

    knupp
    Participant

    Thanks for getting back to me.
    The site I need help with is http://www.wilde-saiten.de.
    Here’s a screenshot:
    https://drive.google.com/drive/folders/1hAyhZGk748nbAyZ30wMIoUXo-NyHNF53?usp=sharing

    #17125

    Andrew Misplon
    Keymaster

    Thanks for all the info. The important part of the OMGF plugin where you choose which fonts to exclude is further down the screen. Please, can you show me the settings page further down.

    #17127

    knupp
    Participant

    Sorry, I have added another screenshot now. Please note that I used another plugin before OMGF, which tried to embed all fonts, maybe that’s why the plugin can’t find any (more) google-hosted fonts. Any random font-checker site does, however (I used https://sicher3.de/google-fonts-checker/), and I don’t know how to localize the fonts that are being shown in the results list.

    #17128

    Andrew Misplon
    Keymaster

    Thanks for the update. You can click Save and Optimize at the bottom of the screen to get things going. Once you’ve done that, you’ll see the available Google Fonts. You can then choose how you’d like to load them.

    #17129

    knupp
    Participant

    Well I had done that of course but it doesn’t change anything. The leftover fonts are still not found or replaced.

    #17130

    knupp
    Participant

    Can you plase help me locate them because I don’t know how to find them on the site?

    #17131

    knupp
    Participant

    I have added another screenshot showing the font checker results. Is there a way of finding the fonts on the site with the specified paths, maybe search and replace (but what/where?)? Thank you for your help.

    #17132

    Andrew Misplon
    Keymaster

    Unless you can locate the fonts and then enable the option to not load, the plugin won’t work. That action must be taken. I’m unsure why the plugin is not finding fonts. You should see a result like this https://imgur.com/a/cAqnjuL.

    To confirm, after clicking Save and Optimize, if you scroll back down to the font section there are no fonts present?

    Do you have an Ultra Premium license?

    #17133

    Andrew Misplon
    Keymaster

    If you have another plugin activated that is trying to block Google fonts, please, deactivate that plugin first before proceeding with the OMGF setup.

    #17134

    knupp
    Participant

    Yes, I do have an Ultra Premium license. And yes, I can confirm that there’s not a single font showing up on that list after clicking “save & optimize”. I suppose that is because, as said, I have used a different plugin before (on this site, too), which actually permanently replaces the fonts it finds by self-hosted fonts, so that will be the reason there are no fonts on display.
    I have successfully found and replaced all fonts on several other websites that are running on a different theme and while it didn’t always work with one click, I’ve always been able to figure it out, but not here on this site. As I am not myself a coder, I don’t know how to search for pieces of code (e.g. calls for fonts) on the site, seeing as there seem to be quite a lot of different documents where it might be hidden and I don’t know where to start. Do you have an idea? I deactivated the child theme but it’ didn’t help. I have also deactivated every single plugin including my caching plugin, but as that did nothing to the results, I reactivated them all. Any ideas?

    #17135

    knupp
    Participant

    Okay I’m sorry, you’re right, when I deactivate the caching plugin and then use OMGF, it does find a list of fonts!
    When I check the boxes as in your screenshot, then click “save & optimize” (I’ll post another screenshot so you can check if I’ve done anything wrong), however, I still get the same font checker results.

    #17136

    Andrew Misplon
    Keymaster

    Thanks for the update. You can use email support if you have a premium license. Please, email me at [email protected]. Thanks again.

    #17137

    Andrew Misplon
    Keymaster

    For anyone reading, please, try the following in Code Snippets set to load on the site front-end:

    function ultra_child_setup() {
    	if ( function_exists( 'siteorigin_webfonts_remove_font' ) ) {
    		siteorigin_webfonts_remove_font( 'Muli' );
    		siteorigin_webfonts_remove_font( 'Lato' );
    	}
    	add_filter( 'ultra_import_google_fonts', '__return_false' );
    }
    add_action( 'after_setup_theme', 'ultra_child_setup', 30 );
Viewing 15 posts - 1 through 15 (of 17 total)

The topic ‘Also need to change google font loading’ is closed to new replies.

Scroll to top