Hi
Im new to RW & am using the Mountain Theme but need to change the Font to helvetica
I know FontStack probably does the job but I have to add it to every page but I rather do it globally in the Code page
Reading through I came across CSS code that did the job for the Banner Header & Slogan as below & funny enough I managed to change the body in all pages too with * {font-family: helvetica}
but I really need the code for changing Header 3 as well please
the code that is so far working for me is:
h1.hero-title,
h2.hero-slogan {
font-family: âhelvetica neue boldâ, helvetica neue bold;
}
One more point I also like to change the slogan style to Normal but the command below is not doing it any advice on that would also be most appreciated
h1.hero-title,
h2.hero-slogan {
font-family: âhelvetica neue boldâ, helvetica neue bold;
font-style: normal;
}
Do be aware that unless you have the actual font files for helvetica neue bought and loaded in to your project, visitors will only see helvetica neue if they have it on their device.
It will work on your device because you have the fonts installed in your Mac but a visitor using windows etc. will probably see Arial or what ever other font they have that is next in the fallback list. Helvetica (not helvetica neue) is only on ~7% of Windows machines, according to W3schools.
Thank you for the tip I have removed the neue & just left in the helvetica
I just didnât like the previous Times New Roman but will consider buying the font
however I really need help with the slogan style & Header 3 font I mentioned above please
Thank you Doug I have did what you said & put in in the code page but it has only updated the Home page headers & not all the other pages
As mentioned Iâd like to have the slogan Normal & not Italic as well but the below code doesnât work
Hi Paul
I just noticed when viewing my website on my mobile as you have mentioned the font on some parts have reverted back to Times New Roman - can you please elaborate how to buy & load helvetica in my project?
Many thanks
I managed to fix the headings fonts on each page with HeaderPro however my Banner & Slogan fonts remained at Times New Roman when viewed by Chrome or Mobile - anyone knows how to override this to helvetica please?
If I have to install helvetica somewhere please can I have instructions
Many thanks
The Montain theme should load a font called âPlayfair Displayâ an open source font available from Google. You keep calling it âTimes New Romanâ. It is a Serif font, so it may look to you like Times new Roman, but if itâs not loading, then you might have another issue.
Helvetica is not an open source font. You would have to purchase a license in order to use it.
You can pick another font from google fonts. If you want to load them from google, then itâs pretty easy. Self hosting is more tricky.
So here are the steps for Google fonts being hosted at google:
Select a font you like, In this example Iâm going to use Rubik
Thanks Paul yes sorted
I prefer the free fonts & Google options are good enough & thx for the Roboto tip its very close & good enough for my purpose
Cheers