I register the elementary css code in the file /themes/classic/assets/css/custom.css, save it, and nothing happens on the site. This file is connected in HTML and when I go to it from the browser, I see that it is empty, that my code is not there.

The same goes for the /themes/classic/assets/css/theme.css file. If its contents are completely removed, nothing will happen.

But if you rename it in _theme.css, then PS will not find it and, accordingly, it will not be included in the HTML code.

All caching, all compilation, etc. has been disabled in the admin panel. In the theme directory, the cache directory is empty.

Can you please tell me how to edit and supplement the CSS code in PS 1.7 version?

  • hmm, in principle, two files are responsible for the styles - theme.css and custom.css. Which browser are you using? - klifort Nov.
  • @klifort any. Which one you like best is what I use. I checked all popular. - Colibri
  • HM interesting. I had such cases in chrome. Here is the cache control panel from the last post that I did, and everything was ok. ivan.gastromi.pro-linuxpl.com/123.jpg - klifort
  • @klifort I tried everything - nothing helps. That is honest. I'm here a question in a state of despair. - Colibri
  • @klifort, moreover, as I already wrote, the theme cache directory is empty. That is, as if there is no cache, well, the settings in the admin panel are appropriate - so that nothing is hard compiled and cached. Where from then CMS takes these styles is not clear. - Colibri

1 answer 1

Everything is trivially simple. I had the same problem. You just need to press shift + f5 every time you edit css in the browser, and also to clear the cache one hundred percent into performance and click the clear cache icon