From Astra Theme Version 1.6.0, the Transparent Header option will be available with a free Astra Theme.
Prior to this, the Transparent Header was available only with the Astra Pro Addon plugin.
How Does The Transparent Header Work?
A transparent Header allows you to easily create beautiful headers. Enabling this option will set your primary header background to transparent and pull the page content to the top.
It will merge the primary header and the pageโs content. That means your top part of the page content will be set as a background to the transparent header.
How to Add a Transparent Header on Your Website
- Find the Transparent Header Options under the customizer [ Appearance > Customize > Header Builder > Transparent Header ]
- Under the Transparent Header section, you can Enable it on the complete website for Desktop or mobile or Dektop+Mobile. Also, you can set a different logo and logo width here.
Layout settings for Transparent Header
From the WordPress dashboard navigate to Appearance > Customize > Header Builder > Transparent Header. Then, you will be able to see the following options:
Enable on Complete Website
Enable this toggle option if you wish to display a transparent header on the entire website. When you enable this option, it offers the following exclusion rules. That means you can choose some pages and posts, where the transparent header can be disabled.
- Disable on 404, Search & Archives?: This setting is generally not recommended on special pages such as archive, search, 404, etc. If you would like to disable the transparent header on these pages, enable the option.
- Disable on the Blog page?: From Homepage Settings, if you have set Your homepage displays > Your latest posts then the front page becomes a Blog page. If you would like to disable the transparent header on it, enable this option.
- Disable on Pages?: If you wish to disable the transparent header on all pages, enable this option.
- Disable on Posts?: If you wish to disable the transparent header on all posts, enable this option.
- Disable on WooCommerce Product Pages?:ย If you wish to disable the transparent header on all WooCommerce Product pages, enable this option.
Enable On
Choose a device to display a transparent header. You will have the following Options.
- Desktop
- Mobile
- Desktop + Mobile
Styling Options
- Different Logo for Transparent Header?: When you enable a transparent header, by default it displays the site logo set under Site Identity. If you wish to set a different logo from the site logo on the transparent header, enable this option and set a logo. You can also set a different logo for retina devices.
- Logo Width: You can set the logo width for a transparent header.
Colors & Background for Transparent Header
Transparent header design settings are available in the customizer under Header Builder > Transparent Header > Design tab. Set different colors for a transparent header with the following options โ
- Background Overlay: Background Color of the Transparent Header
- Site Title: Site Title Color
- Menu Color: Background Color, Link / Text Color, Link Active / Hover Color
- Submenu Color: Background Color, Link / Text Color, Link Active / Hover Color
- Social Color: Text/ Icon, Background Color
- Search Color: Icon, Box Background, Text / Placeholder Color
- Widget Color: Title, Content, Link Color
- Button Color: Text, Background, Divider Color
- Toggle Color: Icon, Background, Border Color
- HTML Color: Text, Link Color
How to Disable Transparent Header On Individual Pages
You can disable the transparent header for certain pages/posts from page meta settings. For example, let’s say you want to disable the transparent header on the home page and show the normal header.
Astra lets you do that, let’s see how:
- Select the desired page or post. We’ll select the “Home” page as an example.
- Click on the Astra icon at the top and access Advanced Settings.
- Select the “Disabled” tab here and click on the Save button at the top.
Now, the home page will display a normal header while all other pages will have a transparent header.
Note that the page meta setting has a higher priority than a customizer setting.
That’s all about the Astra Transparent header.
For any doubts, feel free to contact our support. We’re always here to help!