Create a Transparent Custom Header
|
/ Documentation /Site Builder/ Create a Transparent Custom Header

Create a Transparent Custom Header

With Astra Site Builder, you can create a custom header and also make it sticky. However, the transparent header effect is currently available only with the default Astra header.

In such a case, if you need to display a custom header on a few pages with a transparency effect, you will need to make some adjustments in the custom header to enable the transparency effect.

This guide explains how to create a transparent custom header using Astra Site Builder. Before moving further, we recommend checking the instructions on how Custom Header with Astra Site Builder works.

How to Create a Transparent Custom Header

To create a transparent custom header, please follow the below steps to create a custom header first.

Before you start using the Site Builder, make sure you’ve installed and activated the Astra Pro plugin. Also, update both the Astra Theme and Astra Addon to the latest versions to access the Site Builder.

After that, go to the WordPress dashboard, click on Astra, then Astra Pro Modules, and switch on the Site Builder toggle.

Create a Transparent Custom Header

Once you switch on the Site Builder toggle, then you can see the Site Builder under Astra in the wordpress dashboard.

After clicking on the Site Builder, you can explore the revamped Site Builder through the All Layouts Section.

Create a Transparent Custom Header

From the site builder dashboard, you can create a header template.

Create a Transparent Custom Header

You can create a header layout using columns or select the already created design from the patterns.

Create a Transparent Custom Header

Once the header design is added, select the main column or group and clear the background to make it transparent.

For the same block, add the custom class in the additional classes section:

Create a Transparent Custom Header

Apply the display conditions to enable the custom header on the website and publish the changes.

Next, navigate to the Additional CSS section of the customizer and add the following CSS:

.my-transparent-header{

margin-bottom: -100% !important;

}

.my-transparent-header a {

color: #ffffff !important;

}

Note: The class in the above CSS should match with the class added in the custom header block.

Publish the customizer changes, and the transparent custom header should be enabled on the website.

Create a Transparent Custom Header

You can further modify it according to your requirements by adding additional design options using the CSS.

We hope this article has been helpful. If you have any questions, please feel free to comment below.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

This field is required.

REWIND

YEAR IN REVIEW

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form