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:

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',

What should i change to have working fonts in both domains?

  • If you use the built in developer tools in your browser, the reason this happens is written in bright red in the error console
    – Tom J Nowell
    Commented Apr 3, 2015 at 12:21
  • After research on the problem i have found the solution stackoverflow.com/questions/2892691/… thank you very much!
    – Maciej
    Commented Apr 3, 2015 at 12:54

1 Answer 1


Out of curiosity, are any of the fonts in this style calling a font that is hosted on an online type tool like typekit or fonts.com? If so you may need to add the other URL to your recognized websites and relaunch your online typekit.

  • I use @font-face with generated fonts from my local libraries.
    – Maciej
    Commented Apr 4, 2015 at 10:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.