Home › Forums › Support › CSS works in customizer but not child stylesheet This topic has 7 replies, 3 voices, and was last updated 6 months, 1 week ago by Fernando. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts September 10, 2022 at 10:00 am #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? September 11, 2022 at 10:14 am #2339786 DavidStaff Customer Support Hi there, is it possible to see the issue with the child theme CSS not working? Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ September 11, 2022 at 10:43 am #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! September 11, 2022 at 6:15 pm #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/ September 11, 2022 at 6:47 pm #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! September 11, 2022 at 7:54 pm #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. September 11, 2022 at 8:00 pm #2340045 Ian Great eye Fernando! That Lint tool is cool too, I will use that in the future. Awesomeness, thank you. All resolved! September 11, 2022 at 8:18 pm #2340055 Fernando Customer Support You’re welcome Ian! Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In