I am designing a customized Theme utilizing the underscores.me template. I’ve learn a number of completely different “my css does not load” articles on this matter, however none appear to assist w/ my problem.
My very own kinds will load through wp_get_template_directory_uri().'/model.css'
, while– even with bootstrap.min.css
and so on saved domestically (e.g. ./css/bootstrap.min.css), the place wp_get_template_directory_uri().'/css/bootstrap.css'
could be used within the code, and does present in view browser source– it is nonetheless not loading as evidenced in Chrome developer instruments sources (and as is seen when rendered).
If i exploit Chrome dev’r instruments to view supply, and click on the <hyperlink href="whatever_file" />
, the file opens. So, it isn’t a matter of my paths being incorrect.
If I laborious code my html as an HTML file, the kinds are loaded. Hybrids of html / php additionally load the CSS. However, when I attempt to go “by the ebook” for theme growth, it does not load.
If I exploit the ‘Further CSS’ possibility within the customizer, and use e.g. @import url('http://website.native/wp-content/themes/theme_name/css/bootstrap.min.css');
it does actually render the web page w/ the bootstrap CSS as desired, however that does not appear appropriate to me. What would possibly I be doing unsuitable right here?