- This topic has 4 replies, 3 voices, and was last updated 8 months, 1 week ago by
Sakin.
-
AuthorPosts
-
December 27, 2023 at 11:46 pm #331142
ute hieke
MemberHi,
in the free version i tried to use a google font.
This CSS:
@import url(‘https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap’);
h1 {
font-family: Montserrat;
}It is changing in the backend, but not visible in frontend.
Website:
https://imkeheggelmannco-b2ahejb7k3.live-website.com/
Another question – when i buy the Pro Version, are there all google fonts available?
Thanks for help
December 28, 2023 at 12:39 am #331156tikaram
Participant@foto-hoki : You will need to create a child theme and add font files to child theme folder as given below
child-theme/assets/fonts/font-files
You will need to add a theme.json file to the child theme and add the code to display the desired font families.
Please follow the link below to know more about adding custom fonts to your theme.
https://developer.wordpress.org/themes/global-settings-and-styles/settings/typography/#custom-font-familiesCurrently the pro version of the theme have only limited Google Fonts.
Regards,
TikaramDecember 28, 2023 at 8:33 am #331157ute hieke
MemberHi Tikaram,
you say: Currently, the pro version of the theme have only limited Google Fonts.
Please tell me how many different Google Fonts the Pro Version has?
Is there a list of the Google fonts provided for the pro theme?
I look forward to your answer, thank you Ute
December 29, 2023 at 7:06 am #331179tikaram
Participant@foto-hoki : Currently the theme provides two fonts : Playfair Display and Poppins. Let me know if you have any more queries.
Regards,
TikaramDecember 29, 2023 at 10:50 am #331181Sakin
Keymaster@foto-hoki: WordPress core is soon adding Google font option. So, we haven’t added that to the theme. For now, you can install Gutenberg plugin https://wordpress.org/plugins/gutenberg/ and add font, then you can change font family.
-
AuthorPosts
- The topic ‘CSS for Font not working’ is closed to new replies.