Site logo

Archived topic

Title always in bold type

6 replies · Started by Gerhard on August 14, 2019

Viewing posts 1–7 of 7

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

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

Leo,
you are right: The issue is related to the child theme:
If I switch to the original theme the desired changes take place!

Thanks, Leo, it worked fine!

Gerhard

No problem :)

This archived topic is closed to new replies.