Child theme based on Quark not responsible
-
Hey,
I have seen some threads about this but none of them is really solved.
I have done some testing and I think I have found the issue.Recently wordpress changed the best practice to include parent theme style.css.
From https://codex.www.ads-software.com/Child_Themes:
The final step is to enqueue the parent and child theme stylesheets. Note that the previous method was to import the parent theme stylesheet using @import: this is no longer best practice. The correct method of enqueuing the parent theme stylesheet is to use wp_enqueue_script() in your child theme’s functions.php.The code is:
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
But if you set it up that way some of the content loose the responsive behaviour. Example: https://oller.angst.nu/dev/hoa/
If you use the old method and include the parent style with @import it works.
It would be great if you could have a look at this so we can set it up according to best practice.
Best regards
- The topic ‘Child theme based on Quark not responsible’ is closed to new replies.