Hello, I posted this earlier and I *thought* I had fixed the problem, but apparently I didn’t! Sorry about the confusion, we marked it solved but it’s not solved. Can someone help me out with this?
This is my CSS for text inside a text block with a custom class “main-page-intro”
.main-page-intro h1{
text-align: center !important;
font-size: 22px !important;
letter-spacing: 3px !important;
}
.main-page-intro h2{
font-family: “freight-text-pro”, georgia, serif !important;
text-align: center !important;
font-size: 28px !important;
color: #6c757f !important;
text-transform: none !important;
font-weight: normal !important;
letter-spacing: 0px !important;
}
Also trying to style the h2 slider caption. Everything looks good in Chrome on desktop, but on Chrome and Safari mobile the fonts are not showing up.
div .slideshow_caption h2{
font-size: 36px !important;
text-transform: uppercase !important;
text-align: center !important;
letter-spacing: 3px !important;
color: #000000 !important;
}
Hey tonyska,
I recommend you to follow this article to add custom fonts in the WordPress: http://www.wpbeginner.com/wp-themes/how-to-add-custom-fonts-in-wordpress/ and clear your cache to avoid these kinds of issues.
Best regards,
John Torvik