|
↳ See all 14 articles
/ Documentation /Customizer Settings/Header & Footer/ Transparent Header for HFB

Transparent Header for HFB

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.

YouTube video

How to Add a Transparent Header on Your Website

  • Find the Transparent Header Options under the customizer [ Appearance > Customize > Header > 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 – Use the dropdown to select the specific page types where you want to disable the transparent header. You can select multiple options from the list, including:

  • 404 Page – Excludes transparent header from the error page.
  • Search Page – Excludes it from search results pages.
  • Archive Pages – Excludes it from category, tag, and other archive listings.
  • Blog Page – If your homepage is set to “Your latest posts,” this disables it on that page.
  • Latest Posts Page – Disables it on the page assigned to show your latest posts.
  • Pages – Disables it on all static pages.
  • Posts – Disables it on all single blog posts.
  • WooCommerce Product Pages – Disables it on single WooCommerce product pages.
Transparent Header for HFB

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 > Transparent Header > Design tab. Set different colors for a transparent header with the following options –

  • Background Overlay – Background colour overlay for the Transparent Header.
    Above Header – Overlay color for the above header section.
    Primary Header – Overlay color for the primary header section.
    Below Header – Overlay color for the below header section.
  • Site Title – Text color for the site title.
  • Menu Color – Separate settings for Text/Link and Background colors.
  • Submenu Color – Separate settings for Text/Link and Background colors.
  • Social Color – Colors for Text/Icon and Background.
  • Search Color – Colors for Search Icon, Box Background, and Text / Placeholder.
  • Button Color – Colors for Button Text, Background, and Border.
  • Divider – Divider line color.
  • Account – Colors for Account Icon and Text.
  • Toggle Color – Colors for Toggle Icon, Background, and Border.
  • HTML Color – Colors for custom HTML Text and Link.

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!

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
Scroll to Top