I’m at my wits end here; no matter what I’ve tried my publish.css files is being replaced by app.css when published.
Things I’ve tried:
-
removed passwords from the site.
-
verified the file is indeed a .css extension

-
publish.css is in the correct folder
- I’ve even tried putting publish.css in the .obsidian directory but of course that wouldn’t work because it wouldn’t be published.
-
publish.css is being published through the interface when changes are detected
-
Rebuild vault cache
-
Dumped cache from the browser and tried multiple different browsers.
-
Validated the file with CSS Validator
-
Even removed everything from publish.css and made it a single entry for testing with the following:
body {
background-color: pink !important;
}- I even waited 30 mins after this change to see if it was cached on the server.
-
Fully deleted the published site and republished.
frontmatter-style.css is working just fine within the app. No matter what I’ve done so far it seems that publish.css is completely ignored/overridden by app.css.
Any help would be greatly appreciated; I’m running out of hair to pull out!



