Editing core/css/*.scss files?

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • aio

Summary of the issue you are facing:

hello everyone,

i edited core/css/guest.scss and core/css/public.scss files to assign display: none; to footer elements. but even through after docker restart, server restart, browser clean; edited scss’s are not reflecting values. what am i doing wrong?

i know there’s an app for it but i want to do it natively.

It could be because the browser you are using has cached the old files. In that case, they will not be reloaded even after restarting Docker. Maybe a reload in the browser with Strg/Ctrl + F5 helps you.

What are you trying to achieve? There may be better solutions.

Please also note that if you hide things on the client side using CSS, for example, they are still there. CSS customisation is not a security feature.

1 Like

Those files are IIRC versioned to the Nextcloud version they are a part of it. They’re not meant to be modified manually. As a result manually make changes like that is unlikely to work (well perhaps in debug mode but that’s just because the cache buster is turned off in that case, but that’s not a sustainable thing to do in production).

This topic was automatically closed after 90 days. New replies are no longer allowed.