SOLVED - Customizing CSS has no effect?!

Post Reply
DonnyBahama
Jr. Bludit
Posts: 7
Joined: Fri Feb 21, 2025 1:57 pm
Been thanked: 1 time

I’m using the Marble theme and there are some issues that I’m trying to resolve. I’m using the Developer Console (F12) and inspecting the elements I want to modify. I make the changes in the console to verify the expected behavior, then I open the file that’s specified in the console (mostly my domain.com/bl-themes/marble/css/style.css). I make the changes there and save the changes - but when I refresh the page, everything reverts back.

In case it matters, I’m running Bludit in a docker container with volumes mapped for content, plug-ins, and themes. I’m ssh’ing into my VPS, cc’ing into the docker/bludit/themes/marble/css directory, etc. and editing the style.css file there. I’ve even docker exec’d into the container and navigated to the style.css file and confirmed the changes there. Also opened the blog in a private window to rule out cache issues. I’ve even restarted the container— but no matter what I do, it continues to display without my CSS modifications.

What am I doing wrong and how do I fix it?
Last edited by DonnyBahama on Tue Mar 11, 2025 10:31 pm, edited 1 time in total.
GoustiFruit
Jr. Bludit
Posts: 3
Joined: Thu Jan 16, 2025 1:17 pm
Has thanked: 3 times

I also have that kind of problem: trying to create a new theme, by following the official documentation. I created the basic folders/files required. I even did chmod/chown to match the rules of the other themes. I tried to force reload the page, to empty the cache. Whatever I tried, my fresh empty theme was invisible in the admin/themes section. The only thing I got “working”, was to copy/paste/ and to rename an existing theme (folder and the description in the language file) for it to appear. That's very strange.
DonnyBahama
Jr. Bludit
Posts: 7
Joined: Fri Feb 21, 2025 1:57 pm
Been thanked: 1 time

In case anyone with the same problem stumbles upon this looking for answers, I figured it out. I'm using a Cloudflare tunnel to publish my site. The problem was with Cloudflare caching the site. I found a procedure for creating a "Page rule" on Cloudflare, disabling page caching for my Bludit site. Once I get all the CSS dialed in exactly as I want it, I'll disable that page rule.
Post Reply