Header does not become transparent - Forum | JoomShaper
Solved Helix Framework

Header does not become transparent

Asked by Dominik 1 year ago Last activity 1 year ago

Hi there

I have added the following codes to my custom.css:

#sp-header.header-sticky {
    background: rgba(0, 0, 0, 0) !important;
}

#sp-header {
    background: rgba(0, 0, 0, 0) !important;
}

Header-sticky works. Always and on every page the header becomes transparent when scrolling. But the background for the header is only transparent on the start page. On all other pages it is still white:

https://prnt.sc/KjJ4LV1G1dd_

How can I solve this?

Thank you.
Domi

Accepted answer

Marked as the solution
Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us and sorry for your issue. Your header color settings work. You did not see it because Header is in relative position. And therefore you see body background color through Header. You should place Header in absolute position via css, then it will works.

#sp-header {
  position: absolute !important;
}
Dominik Asked this

Thank you very much Mehtaz.

Domi

Mehtaz Afsana Borsha Staff

You are most welcome.

Log in to reply.