Interestingly, when I view the single page via the customizer, all styles appear.
The same thing happens when I change to the default theme or any other. Any clues why?
]]>Thanks.
]]><?php
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . 'css/theme.css' );
wp_enqueue_style( 'parent-style', get_template_directory_uri() . 'css/woo.css' );
wp_enqueue_style( 'parent-style', get_template_directory_uri() . 'css/responsive.css' );
}
?>
and I’ve also created a child CSS file that has this in it
/*
Theme Name: SOHO Child
Theme URI: https://example.com/twenty-fifteen-child/
Description: Soho Child Theme Theme
Author: Matt Bauer
Author URI: https://example.com
Template: soho
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: soho
*/
While I think I’m doing this right, because most of the pages load correctly there are a few that don’t pull all the resources in.
For example the About page and the Contact Page aren’t loading their resources, and it’s very confusing because every other page has loaded said resources that are missing from those two pages.
Thank you for any and all your help, getting to learn wordpress is proving to be somewhat difficult but with this community I’m sure I’ll be able to grow and give back eventually!
]]>Is there some simple setting I am missing?
Any help would be greatly appreciated.
]]>I was working on the style.css file for my theme, made a few changed to a style, and refreshed the page (as I have been doing all day), and the layout breaks badly and loses all rules in style.css
I try to browse directly to the file and get my 404 page, but I know its there, I am looking at it in my ftp client, and I activated default theme then re-activated my theme (this would not be possible if style.css was not there).
I have made a copy of style.css and placed it in a css folder and linked to that, so my site looks fine, but whats up with my style.css and the blog not finding it?? Im calling it with this code:
<style type=”text/css” media=”screen”>@import url( <?php bloginfo(‘stylesheet_url’); ?> );</style>
and also tried a <link rel=”….. type call aswell.
Has anyone else experienced this before, and if so what causes it??
]]>