'how to change wordpress' wp-login.php font to a custom font-family?
I have uploaded a custom font to my wordpress site and changed the font family everywhere. However, the wp-login.php page's font will not change. I have tried editing the functions.php file multiple times but none of my changes take effect.
What I need is to have a custom font that I uploaded through a plugin, Brainstorm Force's custom fonts plugin to be exact, applied to my wp-login.php page
Thank you in advance
Solution 1:[1]
The solution was simple. I uploaded the font files, linked them through font face in the main style stylesheet, and used the font family.
Edit:
- I uploaded the font files much like an image is uploaded
- Then I got the URL and added it in the stylesheet font-face section I implemented in the theme functions file.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |