- This topic has 2 replies, 2 voices, and was last updated 3 years, 7 months ago by .
- The forum ‘General Discussion’ is closed to new topics and 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.
The default font on Gallery pro for H1, H2, H3 and H4 is "Cormorant". I want to change it to "Open Sans", which is another font used in the theme.
I assumed changing it on the CSS would work. Here is H1. If I change "Cormorant" to "Opens Sans" nothing happens... HELP! 🙂
You have to make sure Open Sans is enqueued in functions.php before you can change style.css. Gallery Pro enqueues the Google fonts around line 68 in functions.css. Use what's there as an example.
I checked that and believe it is. Here's the code on functions.php
wp_enqueue_style( 'ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), CHILD_THEME_VERSION );
wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Cormorant:400,400i,700,700i|Open+Sans:300,300i,600,600i,700,700i', array(), CHILD_THEME_VERSION );
It's always funny how we can be doing this for decades and then get stuck on the dumbest thing 🙂
© 2022 WPEngine, Inc.