Biscotto Posted July 18, 2021 Share Posted July 18, 2021 Hi, I was trying to edit the .css file of the prestahop classic theme to add customizations (so without going to add changes in the custom.css file). So I went to do a test by going to edit the themes/classic/assets/css/theme.css file. I tried to make a simple change like this (a simple color change: #header .header-top { background: #1e2448; padding-bottom: 0; } #header .header-top a[data-depth="0"] { color: #ffffff; } Unfortunately, however, the mods are not displayed on the prestashop store (I use version 1.7.7.5). I've tried clearing the cache, disabling it and setting forced recompilation, but the style of my store is not displayed with the new colors. Can you tell me where I'm going wrong? Is there any way to make changes to the base css of the theme without going to create overrides in the custom.css file? Link to comment Share on other sites More sharing options...
endriu107 Posted July 18, 2021 Share Posted July 18, 2021 Check in other browser, if there your changes are visible it is your current browser cache. Why you don't put change in custom.css it is recommended way to make changes in css. Link to comment Share on other sites More sharing options...
Danny Posted July 18, 2021 Share Posted July 18, 2021 (edited) 30 minutes ago, Biscotto said: Hi, I was trying to edit the .css file of the prestahop classic theme to add customizations (so without going to add changes in the custom.css file). So I went to do a test by going to edit the themes/classic/assets/css/theme.css file. I tried to make a simple change like this (a simple color change: #header .header-top { background: #1e2448; padding-bottom: 0; } #header .header-top a[data-depth="0"] { color: #ffffff; } Unfortunately, however, the mods are not displayed on the prestashop store (I use version 1.7.7.5). I've tried clearing the cache, disabling it and setting forced recompilation, but the style of my store is not displayed with the new colors. Can you tell me where I'm going wrong? Is there any way to make changes to the base css of the theme without going to create overrides in the custom.css file? try background-color: #1e2448; clear PS cache and your browser cache. Danny Edited July 18, 2021 by Danny (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now