1

I've successfully changed it once by this.

Cascading style sheets (CSS)

then I want to change it to other colors, but my new code are not working, the color is still the old one.

I change like this(_theme.less):
from@button-primary__background: @color-orange-red1;
to @button-primary__background: @color-dark-pink1;

I've Flush Magento Cache or Flush JavaScript/CSS Cache,
how can I make it change again untill the color I want?

2
  • Are you using any specific theme? Dec 19, 2016 at 23:32
  • I created a new theme, which just following the walkthrough
    – mio
    Dec 20, 2016 at 2:00

1 Answer 1

0

Please make sure that you are in developer mode and that you cleared the cache. After that clear /pub/static/* and var/view_preprocessed.

2
  • Do I have to do this everytime when I make some changes? btw,I'm not the local host ,so I think I need to ask someone to change mode for me
    – mio
    Dec 20, 2016 at 1:51
  • I did what you say and ran the php bin/magento setup:static-content:deploy and It's worked!!
    – mio
    Dec 20, 2016 at 7:25

Your Answer

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

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