Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

How Can I Block Lato Font?

Open tosunkaya opened this issue 7 years ago • 2 comments

Hi, im using semantic.ui minified css on my page. im not using lato font but it's loading because of semantic ui css. How can i block this on wordpress functions.php?

CDN URL: https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css?ver=2.4.1

@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin);/*!

Isn't there any way to block without editing the file (leaving cdn)? It loads too much version of the font too as unnecessary. Thanks.

tosunkaya avatar Jan 07 '19 18:01 tosunkaya

Hi, You can't do that using CDN, you need to host the edited file yourself.

lucasdcrk avatar Jan 15 '19 10:01 lucasdcrk

Hi I have see this issue, https://www.bitdefender.com/blog/hotforsecurity/german-website-fined-100-euros-after-court-says-googles-font-library-violates-gdpr/

So I want to download en serve this file from my server, how can do that?

JuanSeBestia avatar Aug 07 '23 08:08 JuanSeBestia