- This topic has 1 reply, 2 voices, and was last updated 1 year, 4 months ago by .
- The topic ‘Navigation Pro — Font Replacement?’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Navigation Pro has become my go-to for clients. But I discovered I have not been successfully replacing the font. This went unnoticed because I have all the Google Fonts installed on my machine for designing until recently when a co-worker pointed out font inconsistencies on a project that had particularly stylized fonts.
Being someone who doesn't like unnecessary or duplicate code, I generally try to replace existing implementation rather than overwrite it (like by just throwing an @import line into the stylesheet). In navigation-pro > config > appearance.php on line 52, there is
'fonts-url' => '//fonts.googleapis.com/css?family=Aleo:400,400i,700,700i|Montserrat:400,400i,700,700i&display=swap', which I have been replacing with my own fonts. And then, of course, swapping them out in all of the stylesheets, including the editor stylesheets. I have not found any other instances of body font import or enqueue.
So the strange thing is their implementation is mixed. There have been instances of, say, only the header font being correct. Or the fonts are only correct on either the interior or the homepage but not both. It's very strange, and I really can't figure out why such a seemingly simple implementation is going haywire. I know @import works, but I'd much rather figure out why this isn't working/what I'm doing wrong.
If anyone has any insight, I'd very much appreciate it!
Since you marked this resolved, I will close it.
Love coffee, chocolate and my Bella!
© 2022 WPEngine, Inc.