I am using the code below to fix the position of the header bar,but this code is disturbing other components of HTML.
.container header{
position:fixed;
}
Whenever I write this code about position, the width of the header decreases and it also covers menu section which is below it.
Some portion of menu is then not able to be seen. How to style this so that other components of HTML stay with its own styling