Avada theme question: how to fix position of a second container of the header?

[ad_1]

Hi guys!

I’m struggling to fix the position of a second container (№2 on a screenshot) of the header. I would like to use it as a small design separator between the header and the body. However, when I’m trying to scroll down, the first container (№1 on a screenshot) of the header stays in place, but the second container (№2 on a screenshot) moves together with the main content of the webpage.

https://preview.redd.it/bgnucugyduid1.png?width=1999&format=png&auto=webp&s=8497a0913e5321452d445b768b8dc4e57e33ff3a

https://preview.redd.it/kjho2l56euid1.png?width=1996&format=png&auto=webp&s=b745ed23579f9795e1bcedf7f529c588f6d50a8c

I don’t understand why that’s actually happening. The container №2 is added to the header and not to the body main content and I thought that it won’t be moving during the scroll. Here on the screenshot you can see that the second container moves up with the main content of the page when scrolled:

https://preview.redd.it/sbc9t59feuid1.png?width=1987&format=png&auto=webp&s=3eeddf7d2b0e3c196922fbc38cc3672e6b3b38b5

I cannot find the way how to fix a position of the second container of the header. I am sure that there is the way to do that but I just cannot figure it out myself…

Help me please! =)

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer