@media applying globally and not separately for each screen width [closed]
Your question is off-topic on here, but some quick tips. To print your style, you can use wp_add_inline_style(). find a stylesheet and hook to it to print your styles, instead of using style link in a script link (which obviously won’t work). This is an example for you, which goes in your theme/child-theme’s functions.php file: … Read more