I’ve added the following to my <head>
:
<link rel="stylesheet" type="text/css" media="all and (min-width: 481px) and (max-width: 1024px)" href="<?php bloginfo('template_directory'); ?>/css/tablet.css" />`
For the main page which is header.php, it is working fine. But if I go to lets say: http://mysyte.com/products-page/checkout/ after inspecting with firebug I can see that the browser didnt even loaded this file even if I assigned a lot of properties for the page in this file (tablet.css).
What can you suggest, where to look for the problem? Thanks!
P.S. platform – wordpress and ecommerce wp plugin.
Have you tried echoing the bloginfo function such as…