font style is not working on domain
I have two domains, one http://www.eu-ohne-mpu-fs.de/, second: http://eu-bw.de/. Second domain is the one where Wordpress Adress(URL) and Domain Adress(URL) is set. First one is pointing to the directory /eu-bw.de. In my child theme stylesheet i use Font-face CSS rule to style: title, headers and navigation fonts. That rule is working with second domain but not apply to number one. Also i use this code in function.php (the file is created in child theme directory) to enqueue parent theme stylesheet in to child theme style sheet:
?php
add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_theme_root_uri() . '/eu-bw/style.css',
array('parent-style')
);
}
?
What should i change to have working fonts in both domains?
Topic wp-enqueue-style Wordpress
Category Web