- This topic has 6 replies, 2 voices, and was last updated 1 year, 6 months ago by
Leo.
-
AuthorPosts
-
August 14, 2019 at 7:57 am #984069
Gerhard
Hi there,
When I change typography in the customizer, the effect is immediately visible in the forecast window. But after publishing there is no effect on the title. It remains bold although I chose normal.Chosen Font: Roboto condensed, normal, 40 px
If I choose a smaller size for mobile there is no effect either.Can you help?
Thanks!Gerhard
August 14, 2019 at 8:16 am #984091Leo
StaffCustomer SupportHi there,
Are you using a child theme?
If so this is likely the issue:
https://docs.generatepress.com/article/child-theme-issues/#importLet me know if this helps π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 14, 2019 at 11:42 am #984254Gerhard
Hallo Leo, thanks for the quick reply. It’s true I’m using a child theme created by a plugin: child theme configurator.
Unfortunately your hint doesn’t solve my problem.
Style.css of the child theme is empty (apart from a comment).
The child’s functions.php reads:
<?php
// Exit if accessed directly
if ( !defined( ‘ABSPATH’ ) ) exit;// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED – Do not modify or remove comment markers above or below:if ( !function_exists( ‘chld_thm_cfg_locale_css’ ) ):
function chld_thm_cfg_locale_css( $uri ){
if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . ‘/rtl.css’ ) )
$uri = get_template_directory_uri() . ‘/rtl.css’;
return $uri;
}
endif;
add_filter( ‘locale_stylesheet_uri’, ‘chld_thm_cfg_locale_css’ );if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
function chld_thm_cfg_parent_css() {
wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’, array( ‘generate-style’ ) );
}
endif;
add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’, 10 );// END ENQUEUE PARENT ACTION
What can I do?
Gerhard
August 14, 2019 at 11:46 am #984261Gerhard
Leo,
you are right: The issue is related to the child theme:
If I switch to the original theme the desired changes take place!August 14, 2019 at 1:36 pm #984337Leo
StaffCustomer SupportTry using a child theme from here:
https://docs.generatepress.com/article/using-child-theme/#installing-a-child-themeLet me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 14, 2019 at 1:51 pm #984348Gerhard
Thanks, Leo, it worked fine!
Gerhard
August 14, 2019 at 1:58 pm #984350Leo
StaffCustomer SupportNo problem π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.