0

I want to override the body{} tag of style-m.css in my theme.

The code of .themename.less in vendor\theme\web\css\source is

body {
      .lib-background-gradient(
        #004b6e,
        @main-theme-color,
        vertical,
        true
    );
    word-wrap:break-word !important;
}

but I cant see the changes.On inspect element the word-wrap property in not applied on body.

How to do that?

1

Run php bin/magento setup:upgrade command and then check.

  • thank you, it worked. I was deploying static content without setup:upgrade. – akshay billore Jan 11 '18 at 10:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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