Since the latest update (I think), I’m having an issue with my Published Pages. I have my custom css for the pages in a theme component. The CSS has always loaded correctly. Now, I only see the custom CSS styling when I’m in the editor for the pages. When I look at the pages at their published url, the custom css is not loading at all.
Has anyone seen this behavior? Or have any ideas what might be going on?
Thanks for any help you can give!
2 Likes
Is anyone else experiencing this?
Falco
(Falco)
June 12, 2025, 2:35pm
3
@david maybe some recent change to how we load stylesheets?
1 Like
david
(David Taylor)
June 12, 2025, 2:46pm
4
Can you confirm which file that custom CSS is in? Or if it’s just an admin-panel-authored theme, which tab you’re using?
RGJ
(Richard - Communiteq)
June 12, 2025, 4:00pm
5
Yes, I can confirm, I am seeing the same behavior on today’s tests passed.
Only plugin stylesheets are being loaded.
Even the CSS from the main theme is not loaded.
Normal pages:
Published pages:
as you can see the entire <discourse-assets>
section is not there. The plugin CSS is in the <head>
instead and the CSS is nowhere to be found.
2 Likes
It’s a common.css file in a Theme Component we use for our custom css and head codes.
2 Likes
david
(David Taylor)
June 12, 2025, 4:40pm
7
Thanks @chrismalone and @RGJ . This should be fixed by
main
← published-pages-css
opened 04:39PM - 12 Jun 25 UTC
Followup to 4d0a817f4040ed9dd11c87654e25df2b35f1d778
https://meta.discourse.o… rg/t/published-page-css-not-showing-on-frontend/369642
2 Likes
RGJ
(Richard - Communiteq)
June 12, 2025, 5:06pm
8
Thank you David, that indeed resolves the issue!!!
2 Likes
david
(David Taylor)
Closed
June 13, 2025, 7:00am
10
This topic was automatically closed after 12 hours. New replies are no longer allowed.