Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
It looks like you might have the import tag inside a CSS comment: https://css-tricks.com/snippets/css/comments-in-css/
Thread Starter
prakin
(@prakin)
Sorry. that was a typo. It is not inside the comments. but I am looking closer and think that maybe there is something wrong with my template name???
/*
Theme Name:Sela Theme Child
Theme URI: http://www.queenbeeofhoneydos.com
Template: selatheme-child
Description: This is a child theme of Sela
Author: Rachel Lynn
Author URI: http://www.queenbeeofhoneydos.com
Version: 1.0.0
*/
@import url("../sela/style.css");
I also have my child theme folder name exactly like that (selatheme-child). But I was thinking for some reason that the template before just said “sela” But when I change it to that, I get a broken message at the top. You know, the one that says “please install the sela theme”
Hi there @prakin
What stylesheet is not working? and how is it being loaded?
Thread Starter
prakin
(@prakin)
my child theme style.css is not loading at all. It doesn’t appear when I inspect the element (head).
Thread Starter
prakin
(@prakin)
Well,I figured it out. I think there must be some sort of cosmic joke on me, because every time I post a problem that’s when I finally figure it out. lol
I just cswitched from @import to enqueue, and then had to change from my child theme to another theme. When I went back it started working. Go figure.