• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

🚀🚀🚀 Speed up services site for site members free for BABIATO members -Increase site speed 🚀🚀🚀

@scillione can you just explain the best way to use the fonts on wordpress & elementor. how to disable the google fonts using by elementor?

thanks


On functions.php add the following

add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );

then save.

Use CSS @import Rule for the fonts.

Go to Google fonts and select the style you like.

scrnli_4_15_2020_4-38-15 PM.png


You only need this

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

and

font-family: 'Open Sans', sans-serif;


Now, you can add it on elementor header or footer in Custom CSS.

on elementor.PNG


Now if you see the example, i have named the HTML Tags that might contain Text inside, example:

h1,h2 {font-family: 'Open Sans', sans-serif; } this means, H1 and H2 tags are Open sans font style.

In order to have effect, you need to also make sure any text, have the font family value to " Default " and also the corresponding font weight and the proper HTML tag. like this:

follow.PNG

Heading with H1 Tag

corrsponding.PNG

What you achieve?

Less server request and smaller in size page and only load the fonts and style you need.
also, if need be, you could change the fonts from your entire site, just by changing the CSS.
 
Last edited:
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock