0

After the installation of the Martfury Magento theme on my server, we attempted to make changes to these two files but were unable to locate them within the theme directory. I found these files in,

/pub/static/frontend/MageBig/martfury_layout01/en_US/css/styles-m.css /pub/static/frontend/MageBig/martfury_layout01/en_US/css/styles-l.css

Unfortunately, the modifications made to these files have not been successfully reflected on my website. when I run static content deploy command the changes has gone.so, what I can do to save these changes permanantly to my website ?

1 Answer 1

0

You shouldn't make any changes to any files that are in the /pub/static folder, since these are auto generated, and your changes will be lost.

If you need to make CSS changes, you can modify one of your themes CSS files, and add your styles at the end, for example.

The themes CSS files are probably located in:

app/design/frontend/YourTheme/web/css
1
  • Can I copy and paste styles from styles-m.css file ? can you give me an example please ?
    – Hirun
    Feb 11 at 16:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.