Jump to content

Problem edit theme.css file


Biscotto

Recommended Posts

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

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 by Danny (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...