[Resolved] CSS works in customizer but not child stylesheet

Home Forums Support [Resolved] CSS works in customizer but not child stylesheet

Home Forums Support CSS works in customizer but not child stylesheet

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2339114
    Ian

    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?

    #2339786
    David
    Staff
    Customer Support

    Hi there,

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

    #2339797
    Ian

    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!

    #2340012
    Fernando
    Customer Support

    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/

    #2340018
    Ian

    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!

    #2340041
    Fernando
    Customer Support

    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.

    #2340045
    Ian

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

    #2340055
    Fernando
    Customer Support

    You’re welcome Ian!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.