cancel
Showing results for 
Search instead for 
Did you mean: 

How to add background color for header wrapper in custom theme inherit from blank theme

How to add background color for header wrapper in custom theme inherit from blank theme

I have created a custom theme which is inherited from the blank theme, how to add background color for the header wrapper?

 

web - css - source

 

_header.less :

.page-header{ background-color: #000000;}

_extend.less:

@import "_header.less";

Is my practice right?

2 REPLIES 2

Re: How to add background color for header wrapper in custom theme inherit from blank theme

Hi @Aveeva ,

 

can you try below solution

https://community.magento.com/t5/Magento-2-x-PWA-Theming-Layout/Change-header-panel-background-color...

 

Hope this helps you! 
Problem Solved! Click Kudos & Accept as Solution!

Re: How to add background color for header wrapper in custom theme inherit from blank theme

@Nishu Jindal I did exactly the same, still my header color not changing.