Stylesheet did not apply to the frontend

Hi!
I noticed something with my fresh install.
Not sure why! It looks like the stylesheet is not working for the fresh installation. As you can see, there is a class `.hero-entry h1 {color:#ffff00 !important;}
It works only in the editor, but not in the frontend.

Any ideas?
I have enabled the stylesheet (green dot). But the global stylesheet worked well with another Cwicly’s build. Maybe I missed anything for this site?

The three questions that will help narrow this down are:

  1. is the hero-entry class being applied to the element on the front-end?
  2. does the hero entry contain a h1?
  3. is the global stylesheet being loaded on the front-end?

Yes! It does.

Yes!

I just checked the global stylesheet, it’s empty. The stuff I added did not appear.

I think there was a ghosted issue with my previous installation. I reinstalled everything, and now the stylesheet works fine.

For future reference because I was having a similar issue:

In my case I defined a couple of global stylesheets, let’s call them:

  • stylesheet-1
  • stylesheet-2
  • stylesheet-3
  • stylesheet-4
  • stylesheet-5

My problem was that stylesheets 4 & 5 were not being loaded (neither frontend nor backend) for some reason. After a lot of trial and error I found out that some of the CSS code in stylesheet 3 was commented out and removing/uncommenting that code resolved the issue (both on the backend (without reloading the page) and on the frontend).

So if anyone comes across a similar problem in the future, this is another debugging step you can try :slight_smile: