beepow Posted May 14, 2019 Share Posted May 14, 2019 Hello, is it possible to override all the css editing only one file? I mean: I have to change a lot of rules in some of the css (like: blocksearch.css, blockcart.css, global.css, superfish-modified.css, blocktopmenu.css, homeslider.css). Should I edit each of the separately or Is there a way to achieve the same result by modifing only one file (eg: global.css....)? Maybe I should see which one is loaded as last? I'm using default theme in PS 1.6.1.14 thanks in advance. Link to comment Share on other sites More sharing options...
NemoPS Posted May 19, 2019 Share Posted May 19, 2019 The only way I know, since the modules load after global.css, is using !important. Not clean, but it works. Alternatively just be more specific if possible, so if one rule is .box {background: white} You write .content .box {background: blue} Link to comment Share on other sites More sharing options...
beepow Posted May 20, 2019 Author Share Posted May 20, 2019 Got it! Thank you, I'll try this solution in my next project. 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