Site logo

Archived topic

CSS works in customizer but not child stylesheet

7 replies · Started by Ian on September 10, 2022

Viewing posts 1–8 of 8

In some very limited situations, I have CSS that takes on the front end inside Customizer but not when inserted into the child’s stylesheet.

In this instance, it’s to set margin spacing of a custom archive template created with a Block Element.

What could be possible causes of this? I think the customizer css loads after the stylesheet correct?

Hi there,

is it possible to see the issue with the child theme CSS not working?

Hi David,

I have moved the css from customizer to the last few lines in the child's stylesheet (lines 193 to 201). Let me know what I am missing.

Creds added.

Thanks!

Hi Ian,

What's the login link? I tried Accessing you're site through wp-admin but was blocked by your Security plugin.

Can you try checking if there's any syntax error in all your CSS code in the stylesheet? A website like this would be useful: http://csslint.net/

Hi Fernando,

I just checked the creds and they work. Make sure you are logging into the staging URL. I have provided 2 links and both point to the archive template. Try logging in again and see if that works. Thanks!

Thanks. I was able to login to your site now.

There's a syntax error in your style.css. There's a missing } in line 170.

Great eye Fernando! That Lint tool is cool too, I will use that in the future. Awesomeness, thank you. All resolved!

You're welcome Ian!

This archived topic is closed to new replies.