wordpressfontscustom-wordpress-pagescustom-font

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

  • 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:

    1. I uploaded the font files much like an image is uploaded
    2. Then I got the URL and added it in the stylesheet font-face section I implemented in the theme functions file.