Jump to content

Search the Community

Showing results for tags 'Google Fonts'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • WHMCS Beta Program
  • The latest WHMCS Release
    • WHMCS 8.6 Release Board
  • The Latest from the WHMCS Team
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • News, Announcements & Blogs from WHMCS
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Module Support
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V8.6.x Hotfixes
  • V8.5.x Hotfixes
  • V8.4.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. Google Fonts is a library of 1462 open source font families. It's used by many websites and applications - including WHMCS - to display high-quality and appealing fonts consistently across different devices, platforms and Operating Systems. The fonts are hosted and maintained by Google, eliminating the need to maintain your own font repository. Some users may wish to not use Google Fonts, for example if access is blocked by national firewalls or its use restricted by legislation. This guide demonstrates how to do so. There are two approaches: Disabling Google Fonts - Quick and easy. Visitors will see the nearest equivalent font per their device or OS settings. Hosting Google Fonts on your website - Provides the benefits of Google Fonts, with additional maintenance overhead for you. This guide assumes familiarity with the Themes documentation and the described modifications are being made to a Child Theme of the Twenty-One parent theme. Disabling Google Fonts Edit the /template/$templatename/includes/head.tpl template file from your Child Theme directory. Delete the following line: <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap" rel="stylesheet"> Save the file. That's all there is to it! Hosting Google Fonts on your website Download the fonts used by WHMCS using the Google Web Fonts Helper: Open Sans Raleway Indie Flower Unzip the files. Upload the contents of the zip files to the /template/$templatename/css/ directory Edit the /template/$templatename/css/custom.css (create the file if it doesn't already exist) in your Child Theme directory. Add the following content: /* open-sans-regular - latin */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: url('open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */ src: local(''), url('open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */ url('open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */ } /* raleway-regular - latin */ @font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400; src: url('raleway-v28-latin-regular.eot'); /* IE9 Compat Modes */ src: local(''), url('raleway-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('raleway-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('raleway-v28-latin-regular.woff') format('woff'), /* Modern Browsers */ url('raleway-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('raleway-v28-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */ } /* indie-flower-regular - latin */ @font-face { font-family: 'Indie Flower'; font-style: normal; font-weight: 400; src: url('indie-flower-v17-latin-regular.eot'); /* IE9 Compat Modes */ src: local(''), url('indie-flower-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('indie-flower-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('indie-flower-v17-latin-regular.woff') format('woff'), /* Modern Browsers */ url('indie-flower-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('indie-flower-v17-latin-regular.svg#IndieFlower') format('svg'); /* Legacy iOS */ } Edit the /template/$templatename/includes/head.tpl template file from your Child Theme directory. Delete the following line: <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap" rel="stylesheet"> Save the file. Fonts are now being loaded from your website for visitors, and not from the Google Fonts repository. At the time of writing this post, this process was tested on the latest stable release of WHMCS 8.6.1. If you have any feedback or questions, please feel free to reply to this thread!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated