How To Create Transparent Header In Default Template. - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

How To Create Transparent Header In Default Template.

JK

Jeffrey Kiefer

SP Page Builder 3 years ago

Using Joomla 4 with Helip Ultimate and SP page builder pro default template. How to make the header transparent? I found the header background color options and also found the presets header background color settings but no option for transparent or opacity settings. Is there docs or a current tutorial for this?

0
6 Answers
Ariba
Ariba
Accepted Answer
Support Agent 3 years ago #48611

Hello

Thank you for your query. Please add the following css in the Custom CSS Section:

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

Hope this helps you.

0
A
Arthur
Accepted Answer
3 years ago #48612

I wanted to do the same and added this code but it has no effect. I also noticed that the Header colors in the settings have no effect. Why ?

0
Pavel
Pavel
Accepted Answer
3 years ago #48618

Hi. 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.

0
JK
Jeffrey Kiefer
Accepted Answer
3 years ago #48826

So I see in your templates that some have transparent headers. They did that by adding custom css? Why can't the header be changed in SP page builder or Helix Ultimate?

0
Pavel
Pavel
Accepted Answer
3 years ago #48911

So I see in your templates that some have transparent headers. They did that by adding custom css? Why can't the header be changed in SP page builder or Helix Ultimate?

Hi. I'm not Joomshaper team member.

Header is part of the Helix template. Commercial templates have their own unique features, so in some there are transparent headers.

Basic Helix Ultimate does not have this feature out of the box, so you need to use CSS to make it.

Explanation: Let's imagine for clarity that Body has a blue background.

Header has position: relative; by default. Therefore, when you make its color transparent, you start to see the color of Body and it seems to you that nothing happens (as in reality Body has white bg color ).

In order to achieve transparency, you need to pull the header from the flow of elements. Then, everything that is below is shifted under Header. This can be done using position: absolute;.

1
JK
Jeffrey Kiefer
Accepted Answer
3 years ago #49254

Thank you, very helpful.

0