I am in my Magento_Theme Folder playing around with the _module.less file and have been trying to get it to change my background color of the header but I can't see any changes. I've cleared my cache.

I changed line 59 to:

.page-header {
        background-color: #07baba;
        border-bottom: 1px solid @border-color__base;
        margin-bottom: @indent__base;

and that did nothing. I also tried changing link 337 to add in the background color there and no results. I changed the border in 339 and nothing.

    .page-header {
        background-color: #07baba;
        border: 25;
        margin-bottom: 0;

Cleared cache etc. What am I missing?

  • Which type compilation you are used for css, Grunt or client side ? Nov 2, 2016 at 7:19
  • This page of the Magento dev docs walks you through basic style changes. I strongly suggest reviewing that guide. Afterwards, work on setting up Grunt. It's really simple to do and will change your life. Dec 11, 2016 at 8:35


Your Answer

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

Browse other questions tagged or ask your own question.