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)
Is anyone else experiencing this?
Falco
(Falco)
12 يونيو 2025، 2:35م
3
@david maybe some recent change to how we load stylesheets?
إعجاب واحد (1)
david
(David Taylor)
12 يونيو 2025، 2:46م
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)
12 يونيو 2025، 4:00م
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)
It’s a common.css file in a Theme Component we use for our custom css and head codes.
إعجابَين (2)
david
(David Taylor)
12 يونيو 2025، 4:40م
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
3 إعجابات
RGJ
(Richard - Communiteq)
12 يونيو 2025، 5:06م
8
Thank you David, that indeed resolves the issue!!!
3 إعجابات
david
(David Taylor)
تم إغلاقه في
13 يونيو 2025، 7:00ص
10
This topic was automatically closed after 12 hours. New replies are no longer allowed.