fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED) cdnjs.cloudflare.com and simple-line-icons.min.css

cdnjs.cloudflare.com and simple-line-icons.min.css 3 years 3 months ago #12068

  • SaMILE
  • SaMILE's Avatar
  • Offline
  • Senior Member
  • Posts: 48
  • Thank you received: 1
  • Karma: 0
Hi,
because of the GDPR / DSGVO I would like to have my website load everything locally from my webspace. Well besides the tiles for OpenStreetMap.

I checked which servers the websites connects to and it says that it connects to cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.min.css.

Can I somehow force the website to load the css locally?

Can I just download the font install it locally and add the css code to the custom.css file?

And then how do I force to use the local font and prohibit to connect to cdnjs.cloudflare.com

Thanks for your help!
Sam
The topic has been locked.

cdnjs.cloudflare.com and simple-line-icons.min.css 3 years 2 months ago #12090

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4490
  • Thank you received: 647
  • Karma: 116
Hi Sam,

This is something added by K2 in file ROOT/administrator/components/com_k2/helpers/html.php around line 234.
You can comment the line and then add the icons CSS manually however you prefer.
Simple line icons repo here: github.com/thesabbir/simple-line-icons

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.
The following user(s) said Thank You: SaMILE

cdnjs.cloudflare.com and simple-line-icons.min.css 3 years 2 months ago #12107

  • SaMILE
  • SaMILE's Avatar
  • Offline
  • Senior Member
  • Posts: 48
  • Thank you received: 1
  • Karma: 0
Hi Chetan,
thanks for the quick reply.
That worked.
Cheers Sam
The topic has been locked.
Moderators: chandandeep
Time to create page: 0.338 seconds
Cron Job Starts