foomep
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hemingway] Child theme problemHello Anders,
I have the same Problem. With 1.58 the style.css in my childtheme folder will not load. With 1.56 it works fine.
In the function.php is this:
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'Hemingway', get_template_directory_uri() . '/style.css' ); }Forum: Themes and Templates
In reply to: [Hitchcock] Child ThemeDid it works insert the function in the functions.php file of the child theme..?
I don’t no. I have not tested it.
Forum: Themes and Templates
In reply to: [Hitchcock] Child ThemeI have found the problem:
in the functions.php from the parent-theme change Codeline 82 from
wp_enqueue_style( 'hitchcock_fontawesome', get_stylesheet_directory_uri() . '/fa/css/font-awesome.css' );to
wp_enqueue_style( 'hitchcock_fontawesome', get_template_directory_uri() . '/fa/css/font-awesome.css' );and with child-theme font awesome load correctly 🙂
Forum: Themes and Templates
In reply to: [Hitchcock] Child Themeok, it works. I named my functions.php only function.php…
but a problem I have continued:
the font awesome dont load because wordpress try load the font from the child theme folder (https://server.com/wp-content/themes/child-theme/fa/css/font-awesome.css?ver=4.5).