PX Forums demoYou are browsing as a visitor. Try it as: Member · Moderator · AdminOne click, no password. All changes are reset every night at 03:45 CET.
Skip to content

[2.4.0] Theme preview shows the previous theme after saving

Bug Reports Solved Locked
Log in
Replies
14
Voices
8
Views
333
Last activity
Score 1
Hannah Lindqvist Topic starter Moderator597 karma46 posts · Joined Dec 2026

Steps: open Theme settings, change the primary colour, press Save. The live preview still shows the old colour until I reload.

Expected: the preview updates after save. Actual: it keeps the old state. Version 2.4.0, Chrome 126, PHP 8.3.

Choose a reaction

14 answers

Score 8
Maya Okonkwo Moderator540 karma57 posts · Joined Dec 2026
Solution

Thanks for the clear report. Confirmed and fixed in 2.4.1: the preview cached the stylesheet by name. The new build adds a version hash to the URL. Update, clear the cache once, and let us know if you still see it.

Choose a reaction
Score 2
Maya Okonkwo Moderator540 karma57 posts · Joined Dec 2026

I opened an internal ticket for this. Will update this topic when there is a fix.

Choose a reaction
Score 1
Sofia Ricci Helper759 karma59 posts · Joined Dec 2026

Thanks for the report. I could reproduce it with a clean install and the default theme.

Choose a reaction
Score 1
Ben Carter Helper290 karma39 posts · Joined Dec 2026

Can you attach the full steps? I could only reproduce it once in five tries.

Choose a reaction
Score 0
Ben Carter Helper290 karma39 posts · Joined Dec 2026

Tested on a fresh VPS: not reproducible. Maybe related to a plugin? Which ones do you run?

Choose a reaction
Score 0
Daniel Reyes Expert876 karma52 posts · Joined Dec 2026

Affected: Firefox 128 too. Safari looks fine.

Choose a reaction
Score 0
Maya Okonkwo Moderator540 karma57 posts · Joined Dec 2026

Fix is merged for the next patch release. Thanks for the quick report!

Choose a reaction
Score 0
Maya Okonkwo Moderator540 karma57 posts · Joined Dec 2026

Workaround until it is fixed: clear the cache after saving.

Choose a reaction
Score 0
Amara Diallo Helper475 karma52 posts · Joined Dec 2026

Not the answer you want, but I stopped worrying about it once I wrote the steps down as a checklist.

Choose a reaction
Score 0
Lucas Meyer Expert852 karma57 posts · Joined Dec 2026

Late to the party, but this thread is a gold mine. Bookmarked.

Choose a reaction
Score 0
Amara Diallo Helper475 karma52 posts · Joined Dec 2026

Great question. My honest answer: it depends on the size of the site, but for small ones I keep it simple.

Choose a reaction
Score 0
Elena Petrova Helper577 karma41 posts · Joined Dec 2026

Same here. @demo-ben gave me a tip on this a while ago that changed how I work, so maybe they can chip in.

Choose a reaction
Score 0
Elena Petrova Helper577 karma41 posts · Joined Dec 2026

+1 to what @demo-hannah said. Starting small is underrated.

Choose a reaction
Score -1
Amara Diallo Helper475 karma52 posts · Joined Dec 2026

@demo-maya ↗:

I opened an internal ticket for this. Will update this topic when there is a fix.

Same behaviour here. It started after the 2.4 update.

Choose a reaction

This topic is locked. New replies are closed.

Back to Bug Reports