Header Layouts – Avada Website Builder https://avada.com For WordPress & WooCommerce Sun, 01 Sep 2024 22:21:36 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 Responsive Header Design With Avada https://avada.com/documentation/responsive-header-design-with-avada/ Sun, 01 Sep 2024 22:20:54 +0000 https://avada.com/?post_type=documentation&p=894828

Designing your headers for smaller screens, such as tablets and phones can be simple or challenging, depending on the header layout and the amount of content. But with Avada, there are many strategies you can employ to create successful headers for any screen size.

Read on to see some of the different strategies available, and watch the video below for a visual overview.

For privacy reasons YouTube needs your permission to be loaded.

Strategy #1 – Logo and Mobile Menu

Let’s start with what is the simplest strategy, that also uses minimal content in the header. This is simply to have a logo and a mobile menu on all screen sizes. The easiest setup for this is two one half columns, one with an Image Element displaying the logo, and the other with a minimized version of the Menu Element. Examples of this are the Barber prebuilt, the photography light prebuilt, and the music prebuilt.

If we look at the barber prebuilt, there is also a WooCommerce Cart icon next to the main hamburger menu icon, but there is ample room on all screen sizes for the content to stay as it is.

But even here, there are responsive options as play. In this prebuilt, the designer has in fact used different column sizes on all three different screen sizes, which has the effect of controlling the size of the logo, as it is an SVG logo and can scale without loss of quality.

Barber Shop Header

Strategy #2 – Separate Containers for Desktop / Tablet and Mobile

A different approach is to make completely different headers for large screens and medium/small screens. The e-bike prebuilt for example, uses two containers for large screens and another one entirely for smaller screens, using conditional rendering to control which ones get used where.

This approach can also be seen on the Energy prebuilt. On this prebuilt, the header container that renders on desktop devices, via device type rendering logic, is completely different to the header container that renders on tablets and phones.

Energy Header

Strategy #3 – Collapsing Menu on Smaller Screens

One of the most common approaches to responsive header design however, is to simply have the main Menu Element collapsing to a mobile menu on either medium or small screens. This can be seen on many of the prebuilts, including the Classic, Restaurant, Taxi, Creative, and Wedding prebuilts, as well as many others. This is a solid strategy and works in almost all situations.

Here on the Wedding prebuilt, the header is in fact at the bottom of the screen, due to a full screen Avada Slider being added above it in the page options, but only on large screens.

With medium screens and below, the header is back at the top, and the menu has reduced to a mobile menu instead.

This approach can also be taken with side headers. Prebuilts like the Cafe, agency and Resume do this, with a side header on desktop, reverting to a top iconised header on smaller screens.

This is achieved by setting the Header Position to Left in the Layout Section options of the header layout section, and setting the Side header breakpoint to medium.

So on medium screens, the header reverts to the top, and via the menu element, the mobile breakpoint set on the mobile tab kicks in and the menu collapses to a mobile menu.

Wedding Header
Wedding Header

Strategy #4 – Items Progressively disappearing

A more complex strategy that generally also includes the above method is when items progressively disappear as the screen size gets smaller, and potentially also change size and order.

A couple of examples of this are the Financial Advisor, Pet Supplies and Retro Prebuilts. This is usally achieved with the visibility option on the column holding the element.

If we look at the Retro prebuilt as an example, on desktop there is only one header with five separate elements visible, but on medium screens, there are only three, and on small screens, just two.

Retro Header > Large Screens
Retro Header > Medium Screens
Retro Header > Small Screens

Strategy #5 – Off Canvas for Navigation on smaller screens

Finally, another great strategy, which is also seen on the Retro prebuilt, as well as on quite a few of the more recent prebuilts, is the use of an Off Canvas to use as the primary navigation in responsive situations. This approach can be found on the Investment, Corporation, Business, and Magazine prebuilts just to name a few.

On the Magazine prebuilt for example, on large screens there is a main menu, and an icon triggering an off canvas as well. But when we view the site on a smaller screen, the main menu disappears, and the off canvas now also acts as the main navigation.

Magazine Header
Magazine Header > Responsive

The content in your header will best determine which of these strategies to use for successful responsive design. Download the various prebuilts to explore more about how these strategies have been achieved. Then you can pick and choose amongst the various strategies to find something perfect for your site.

]]>
How To Build A Side Header In Avada Layouts https://avada.com/documentation/how-to-build-a-side-header-in-avada-layouts/ Fri, 04 Jun 2021 02:44:32 +0000 https://theme-fusion.com/?post_type=documentation&p=867037

Building a Side Header in Avada Layouts is a very simple process. Effectively, it’s just a setting in the Layout Section Options for a Header Layout Section. Read on to find out all you need to know to build side headers using Avada Layouts.

Building A Side Header

Set Your Header Position

When building a Header Layout Section, there are Layout Section options, in the place you’d normally find Page Options. Here, you can generate your Dynamic Content Previews, and now, as can be seen in the screenshot above, you can set the Header position.

So to create a Side header, all you need to do is to set this position to the Left, or the Right, as you prefer. Then it’s simply a matter of building a Header in the same way as you normally would.

There is an option for the Header Background Color, and an option to set the width of the side header, and the Side Header breakpoint (the size screen it reverts to being a top header).

Build Your Header

Then it’s simply a matter of building your Header. You can use the same Elements, like an Image Element for the logo, and the Menu Element. That Element also has a Vertical Direction option that works with the side header.

As you can see in the screenshot below, our finished header looks great, and in this case, reverts to a Top Header on Medium Screens. Try it out live on the Resume Prebuilt Website.

Resume Website > Side Header
]]>
How to Work With Header Transparency in Avada Layouts https://avada.com/documentation/how-to-work-with-header-transparency-in-avada-layouts/ Mon, 10 Aug 2020 23:48:28 +0000 https://theme-fusion.com/?post_type=documentation&p=778162

When creating Headers in Avada Layouts, one thing that might not appear obvious is how to make the Header transparent (or semi-transparent). It’s actually quite simple. Keep reading below to look at a few scenarios using the Online Tutor Prebuilt Website, and how to achieve them, and watch the video for a visual overview.

For privacy reasons YouTube needs your permission to be loaded.

Fully Transparent Header Container

In this scenario, we’re going to recreate the Header of the Online Tutor Prebuilt Website in Avada Layouts. As you can see below, the site header has two containers; the orange top bar, with contact information and social links, and the second container with the logo and the menu. It is this second container we want to be transparent, so that the background image of the top page content container moves up underneath the header.

Online Tutor > Transparent Header Container

OK, so I’ve started by creating the Header Layout Section. As you can see in the back-end builder view, there are two containers, with two Elements in each.

Online Tutor Header > Wireframe View
  • Step 1. In your Header Layouts Section, set the transparency of the second Header Layout Section Container to full transparency, by setting the alpha channel to zero in the Background > Color > Container Background Color option, as seen below.

Header Container > Background Transparency
  • Step 2. Go to the Extras tab of the second Header Layout Section Container, and turn the Position Absolute option to On, as seen below. That’s it. As the top Container in the page content has a background image, then this content will slide in under the now transparent header.

Header Container > Position Absolute

OK, here’s our site with the new Header Layout Section activated. Identical to the original site.

Online Tutor > Transparent Header Container

Transparent Sticky Header

You can also enable any level of transparency for sticky headers, either independently, or in conjunction with the above initial Header.

  • Step 1. In the Extras tab of the second Header Layout Section Container, set the Position Sticky option to On. Two options under this, you will see the Sticky Container Background Color option. Set this to be transparent (or semi-transparent). In our case we will make it White, at 90% – rgba(255,255,255,0.9). That’s it. Remember to save the Header Layout Section.

Online Tutor > Sticky Header Settings

On the front end, as you scroll, the top bar disappears, but the second header container becomes sticky, and semi-transparent, with the content sliding in behind it as you scroll.

Online Tutor > Sticky Header

Semi Transparent Header With Gradient

You might also want something a bit more complex. You can also apply any level of transparency to your Header Container Background, or as in the example here, set a gradient background with varying levels of opacity.

  • Step 1. To start, set the Header Container Background to Gradient. In the example below, the top gradient has been set to white at 94% opacity, and the bottom gradient has been set to fully transparent, as seen below.

  • Step 2. Again, in the Extras tab, the Position Absolute option has been turned to On.

Header Container > Gradient Transparency

As a result, the second container in the header has an almost solid white at the top of the header, quickly graduating to fully transparent. You can adjust where the opacity starts and ends, and how smoothly it graduates, with the Gradient Start and End Position.

Header Example > Semi-tranparent Header

OK, that’s it. There are many ways you can use transparency in your Header Layouts, but this should give you the tools to achieve pretty much any header effect you are thinking of.

]]>
How To Add A Logo Into Your Header Layout https://avada.com/documentation/how-to-add-a-logo-into-your-header-layout/ Thu, 23 Jul 2020 00:52:51 +0000 https://theme-fusion.com/?post_type=documentation&p=733986

With Avada Layouts, you can create custom Headers for your site using the full power of Avada Builder. One of the most commonly used Elements in a header is the Menu Element. But if you’re looking for a Logo Element, you won’t find one.

Because a logo is essentially just an image, and also because you would typically only use a Logo Element once to add it to a Header Layout, it was decided that the existing Image Element was more than good enough for the job. This document looks at exactly how to use the Image Element to add a logo to a Header Layout, using a variety of image formats directly in the header, or dynamic options, pulling the logo from Global options. Read on to find out all you need to know about logos in Header Layouts, and watch the video for a visual overview of the available methods.

Custom Header Layout Section
For privacy reasons YouTube needs your permission to be loaded.

Adding The Logo As An Image

Once you add the Image Element to your Header Layout, have a look at the very first Element option – Image. As we have established, a logo is essentially just an image, and so you can just add the logo as an image from the Media Library, using the Upload Image button on the first option.

Typically, you add your logo in the size you want it to display. So if you wanted your logo to be 300px wide, you could just resize it to that before uploading, and then add it as an image via the Element. But as seen below, you could also upload a Retina sized logo (eg. 600px) and use the Image Max Width option, directly below the Image option, to set a size half of the retina version (300px), thereby setting a Retina ready logo site wide.

As long as other logos were not set in the global options, this logo would be used for all responsive views, as well as a sticky header, if that was enabled.

Image Element > Adding A Logo As An Image

Adding The Logo As An SVG File

Adding an SVG file as your logo has numerous benefits. The primary one of course is that an svg file resizes dynamically, and as such, you can use one file for all circumstances. They are also small files, which is another smll benefit.

To use SVG images on your website, make sure the SVG Media Upload option, found under Performance in the Global Options, is enabled.

If you add your SVG logo during the Avada Setup Wizard, this will automatically allow for the upload of an SVG file.

Adding The Logo Dynamically

Alternatively, you can add the logo dynamically, which will pull the logo(s) uploaded through the Global Options. This can be advantageous in more complex headers, with the need for various logos and sizes, but there will be a small price to pay on page load. To get started with this method of adding your logo to a header layout, click the data icon next to the Option title, as seen directly below.

Image Element > Image Option

This will replace the Upload image button with a Select Dynamic Content dropdown. To see the full options for the Logo data type, click on Logo from the dropdown list.

Image Element > Dynamic Options

This brings you to this screen, where you can choose exactly what data you’d like to pull into the Element.

Image Element > Dynamic Logo Options

You can choose from Default (Normal), Default (Retina), Sticky (Normal), Sticky (Retina), Mobile (Normal), Mobile (Retina), or All. What to choose here will depend on your Layout, and what you are trying to achieve.

  • Default (Normal) – This will pull the Default logo added to the Global Options. It will display at its original size throughout the site, including on sticky headers and on all responsive views.
  • Default (Retina) – This is the same as default, but pulls the Retina version. Using this with a combination of the Max Width option is an easy way to have a Retina Ready logo sitewide.
  • Sticky (Normal) – You’d probably only select this one if you were building multiple header layouts and using Visibility options to show a specific Sticky Logo. In most cases, it would be easier to just set the Data set to All, and upload a Sticky Logo there.
  • Sticky (Retina) – As above.

  • Mobile (Normal) – You might use this if you wanted to build a specific mobile header, and having it only show on mobile layouts.

  • Mobile (Retina) – As above.

  • All – This is a great option if you have uploaded multiple versions of the logo through the global options. It will pull the most relevant one in the situation; ie. it will pull the mobile logo when the mobile header is active, and the Sticky logo when a sticky header is active etc. To use All, you don’t have to upload all versions of the logo through the global options. This will just pull the ones that have been added.

So, as you can see, the Image Element is now a powerful tool to help set your logo throughout the theme when using a custom layout.

If you have just one header layout, the best option is either uploading a logo as an image (either normal or retina version as described above) or adding the image via dynamic content, using the ‘All’ dataset, and adding your desired logos in the global options.

If you have multiple headers in your layout, using visibility options to control when they are shown, then the single data set options will be the ones you want, to show the various versions of the logo when the visibility optioins kick in.

]]>
How To Set Up Different Headers / Logos For Mobile (And/Or Sticky) https://avada.com/documentation/how-to-set-up-different-headers-logos-for-mobile-and-or-sticky/ Wed, 22 Jul 2020 20:05:17 +0000 https://theme-fusion.com/?post_type=documentation&p=764089

The incredible flexibility of the Header Builder means that not only can you design and create fully customized headers for your site, you can have also have special Mobile, or Sticky Headers that behave exactly as you want. Read on to explore a variety of situations with the Header Builder and small screen (mobile) and/or Sticky Layouts.

How To Set Up A Mobile Header

If you want a Header that just reverts to a Mobile Menu (Hamburger Menu) when the site is viewed on a small screen, then you only need to change one very simple setting. This is found in the Menu Element, in the Mobile tab. It is the Collapse to Mobile Breakpoint option. This is, of course, the breakpoint at which your navigation will collapse to mobile mode. There are five options – Never, Small Screen, Medium Screen, Large Screen, and Custom.

For a typical Mobile only menu, just set the Collapse to Mobile Breakpoint option to Small Screen. If you wish, you can customize the pixel value of that breakpoint in the Global Options, under Avada > Global Options > Responsive > Element Responsive Breakpoints, as you can see in the image below. You also have full control over what icons are used with the Mobile Menu with the Mobile Menu Trigger Expand Icon and Mobile Menu Trigger Collapse Icon options, which you will find on the Mobile tab of the Menu Element.

Element Responsive Breakpoints

Logo Options In The Image Element

If you want to create a specific Mobile Only Container in your Header Layout, by using the Container Visibility options, there is also a useful option in the Image Element. This allows you to only pull a Mobile Logo into the Element via the Dynamic Source option. To do this, click on the Dynamic Data icon (next to the Element title), select Logo as the Dynamic Content, and then you can choose from Mobile (Normal) or Mobile (Retina). If selecting Retina, you can then also use the Image Max Width Option below to set the logo to half of its full size, thereby creating a Retina Ready Logo.

Image Element > Dynamic Source

Icon Only Menu Visible On All Devices

You might also want to create a Mobile menu that’s visible on all devices. This is also easy to do with the combined forces of the Menu Element and the menu itself.

The first step is to add a Custom Home Link (#) as the top level menu item in your menu, and make all desired submenu pages as children of that top level item, as seen below. In this example, I have also added two more Icon Only menu items below the submenu items, both from the Avada Special Menu Items – a Search icon, and a WooCommerce Cart Icon.

Custom mobile Menu > All Screen Sizes

It’s also important to change the top level menu item to Icon Only through the Avada Menu Options. Here, you can set the icon to a Hamburger menu, or whatever you prefer.

Then the Menu Element takes over. Here you select your Menu, and then you can customize it as you wish. You can control the Icon size, the item spacing and styling, the submenu mode, and many other things.

Here you can see an example of this method, using the Avada Food website. In this example, I set the Submenu Mode to Dropdown, and set the Space Between Main Menu and Submenu to be 50px.

This menu then looks the same at all screen sizes, from Desktop, through tablet to mobile.

Custom mobile Menu > All Screen Sizes

Element Visibility / Element Sticky Visibility Options

Another couple of very helpful tools when designing Mobile and Sticky Header Layouts, are the Element Visibility Options, and the new Element Sticky Visibility Options. The Element Viability Options are found on all Elements and can be used, for example, to hide a Container until the Screen size is Small. In this way, you can easily have individual Containers for various screen sizes.

The new Element Sticky Visibility options are found on Columns and a selected range of other Elements, and can be used to hide Elements in certain states. For example, you can add Elements into a Column, which is then visible only when the Container is in Sticky mode. For more information on these two, very useful helper options, please see the Avada’s Visibility System and the How To Work With Sticky Containers docs.

]]>
How The Menu Element And Menu Work Together https://avada.com/documentation/how-the-menu-element-and-menu-work-together/ Tue, 07 Jul 2020 03:07:57 +0000 https://theme-fusion.com/?post_type=documentation&p=761498

The Menu Element allows you to display and customize an existing Menu, and can be used anywhere in your content. But it will most typically be used in Custom Header Layouts. See the Menu Element documentation for a full rundown of the element and all of its many options, but in this document, we are going to explore how it works in concert with the actual WordPress menu, and review some common situations using the Menu Element.

Using The Menu Element in Header Layouts

Creating Your Menu In WordPress

The first step, before using the Menu Element, is to have an existing menu. Menus are core WordPress business, and are created under Appearance > Menus, from the WordPress dashboard. See our Setting Up A Menu doc, or the WordPress Menu User Guide on the WordPress Codex for detailed information on this step.

The Menu Element then controls how the menu displays, but there also some options to be aware of in the Menu itself, that affect the menu’s appearance.

When creating your menu in WordPress, there are several options with the menu and the menu items that will affect how the menu will display on the page, whether assigned via the WordPress Menu Options, or displayed using the Menu Element.

Please review the Menu Settings doc for a full rundown of what you can configure while building a menu, but these primarily include the Avada Menu Options, found in every menu item, and the Avada Special Menu Items, found at the bottom left of the menu area.

For example, with the Avada Menu Options, you can style a menu item as a button, add an icon or show the menu item only as an icon, add a Menu Highlight Label, or enable a Mega Menu on the item. All of these options would affect how the menu displayed when using the Menu Element, and as such, the styling for such aspects of the menu items would come from the Menu itself, and not the Menu Element.

And with the Avada Special Menu Items, this is where you would add things like WooCommerce iconized menus, Search bars and Sliding Bar Toggles, if wanting to use a menu with the Menu Element.

How To Add Avada’s Special Menu Items

To see details of each specific Special Menu Item, head to the Avada Special Menu Items doc. When assigning Menus via WordPress, these options are added via the Global Options, but when using the Menu Element, these special items need to be added to the menu itself for them to appear. These are the WooCommerce Cart, the WooCommerce My Account, Search functionality, and the Sliding Bar Toggle.

Each of these Special Items has their own Avada Menu Options panel, and can be added to menus by themselves or with other menu items.

Adding Special Menu Items
]]>
How To Set Up A Click Mode Menu In The Best Way Using The Menu Element https://avada.com/documentation/how-to-set-up-a-click-mode-menu-in-the-best-way-using-the-menu-element/ Mon, 06 Jul 2020 23:05:07 +0000 https://theme-fusion.com/?post_type=documentation&p=764087

We are used to menus that open upon hover. But this is not necessarily the best method, either for navigation, or accessibility. With the Menu Element however, you can create menus that open their submenus only on click. This is done simply by choosing Click as the Expand Method in the Menu > Submenu options, as seen below in the image. But there a few things to be aware of when doing this. Read on…

Click Mode Menu

One is the use of carets. If Click Mode is activated, and Dropdown Carets are enabled, then it is the Carets themselves that need to be clicked to activate the submenu, not the menu item.

This is related to the second issue; the top level menu items. These can be normal page or post links etc, but in this case, clicking on them would redirect the page to the link, and not open the submenu.

So, to avoid these issues when creating a Click Mode Menu, it is best to use custom links set to # as the top level menu item, when a submenu exists, so that if a user clicks on the actual menu item, the submenu will open.

]]>
How To Design A Website Header With Avada https://avada.com/documentation/how-to-design-a-website-header-with-avada/ Tue, 09 Jun 2020 01:10:59 +0000 https://theme-fusion.com/?post_type=documentation&p=725150

With Avada Layouts, you have the ability to create fully customized Header Layouts on your Avada website, using the full design power of Avada Builder. If you still want to use the legacy method of assigning a header layout from the Global Options, see the How To Set Up A Global Options Header doc.

You can build a Header Layout from scratch using the wide range of Elements in Avada Builder, or you can get a head start on your Header, by importing a prebuilt one from Avada Studio. A Header layout can be global, meaning it will display on every page of the site, or it can be conditional, and just display on certain pages, categories, or custom post types etc. In that way, you can even have multiple headers, for different sections of your site.

Read on to understand Header Layouts in Avada, and watch the video below for a visual overview of the entire design process.

For privacy reasons YouTube needs your permission to be loaded.

The Avada Layouts Interface

A Custom Header is technically a Layout SectionLayout. See Introducing Layouts in Avada for a general overview of Layouts, and Understanding Layout and Layout Sections to understand the difference between the two parts of the Layout, but for now, let’s now look at creating a Custom Header Layout Section.

You can find Layouts at Avada > Layouts. This interface is where you create and manage your Layouts and Layout Sections in Avada. Initially, there is just a Global Layout, and by default, this is empty, with no attached Layout Sections, as can be seen below.

Avada Dashboard > Avada Layouts

Creating A Custom Layout

You can add a Header Layout Section to the Global Layout, or to a Conditional Layout, set to only show on specific custom post types, or even single pages etc. The Global Layout is already there by default, but for a Conditional Layout, we have to first create a Layout.

Creating a Layout is done on the Layouts page, by simply adding an appropriate name and then clicking on Create New Layout, as can be seen below.

Layout Builder > Create New Layout

Creating A Custom Layout Section

If you already have a Layout you want to add a Custom Header Layout Section to, or you want to add it to the Global Layout, then you can go ahead and create a Header Layout Section.

You can do this on the Layout Section Builder page, by simply choosing the type of Layout Section, and then adding a name (in this case, Header, and perhaps a name of Global Header might be most appropriate) and then clicking on Create New Layout Section, as can be seen below.

Layout Section Builder

Alternatively, you can create a Layout Section directly from the Layout you wish to add it to, as can be seen below. For a Layout Section to appear on your site, it has to be added to a Layout. And as mentioned, there is initially only a Global Layout. So, if you wanted to create a Global Custom Header, you would just add it to this Layout. But if you wanted a conditional Custom Header, you would need to create a new Layout, assign a Custom Header Layout Section to it, and then add conditions to it to get the Layout to display according to those conditions.

There’s no wrong way to do this, but it’s important to think of the circumstances. If the layout is already active (i.e. it has conditions or is the Global Layout) then any Layout Section added would also be immediately active, and at this point would still be empty. So in the example of adding a Custom header to a Global Layout, it would make more sense to add it via the Layout Section Builder page first and build it before adding it to the Global Layout.

Add New Global Header Layout Section

Alternatively, if we were adding a Header Layout Section to A Conditional Layout, then we could add it in this way, and then build it. Conditional Layouts are not in use until there are conditions added. If we mouse over the Header Layout Section on the Layout, as shown below, we can then click on the edit icon to design and build our Layout Section.

Adding A Header To A Conditional Layout

Editing a Custom Layout Section

When you first edit a new Layout Section, you come to the default WordPress Editor. From here, you can choose to use Avada Builder, or Avada Live. It is here we create our Custom Layout Sections.

Anything you can build in the Avada Builder can constitute the content of your Layout Sections. You can have multiple columns, background images, dynamic data… anything. The freedom this gives is enormous. The Layout Section is literally that – a section where can create the Layout. The content itself comes from the Builder, and what you can do is only limited by your imagination.

Adding An Avada Studio Header

An easy way to get started with a Custom Header is to use Avada Studio to add a Header to your Header Layout Section. Headers are just one type of pre-designed content you can add with Avada Studio, which you can then customize to meet your own requirements. There is a wide range of different Header designs you can import into your Layout Section, as a starting point for your own Custom Header, with more being added to Avada Studio regularly.

Adding a Studio Header to your Layout is very easy. When you first edit your newly created Header Layout Section in Avada Builder, just click on the Avada Studio link on the Starter Page, and the Library will open on the Studio tab, with all the available headers ready to import.

Layout Section > Avada Studio

Elements of a Custom Header

For a Custom Header, one essential element would likely be the new Menu Element. This is the only specifically new Design Element made for the Header Builder and has a huge range of features to configure and display your menu in multiple ways.

The Image Element is another Element that will likely be in most Header designs, and this has been expanded, so you can use it to place your logo into your Header Layout as either an image or Dynamic Data. And remember, that with the Header Builder, you can use any Design Elements to complete your design, so depending on your design you might also use any number of other Elements.

For a Header Layout, there are also options in the Container and Column Elements you can use, such as Conditional Rendering, Container Background Options, Sticky Containers, Container Offset, Responsive Options Sets, Sticky Visibility options and many more. Please see the Container and Column Element docs for full details on their new features. The choice and the design are completely up to you, and the entire design flexibility of Avada Builder is at your fingertips.

Example Of A Custom Header

As mentioned, there are almost no limits for what you can create using the Header Builder. As an example, see below for the Header Layout design of the Pet Supplies Website. As you can see below in Wireframe view, it is a multi-container layout, using many of the features available in Avada, including the Menu Element, a dynamic logo, Custom Column widths, a Sticky middle Container with additional Elements that only have Sticky Visibility, as well as responsive changes in Tablet and Mobile layouts.

The top Container holds the logo, search bar, some text, and the WooCommerce Cart icons. The middle container holds the main menu, which itself has sub-menus and a mega menu, and a logo and another two menus with visibility options applied, so that they only show when the Container becomes Sticky. The last Container just has a tiled background image and three text blocks with icons and text. The Header also makes good use of the new Responsive Option Sets feature, displaying a different header layout for both Tablet and mobile.

Make sure to watch the How To Create A Custom Header video, embedded at the top of the page, to see further details of this truly custom header.

Pet Supplies Custom Header Layout

See below for an example of what this Header looks like in Desktop view, but to truly get a good feeling for all that’s going on in this Custom Header, it should be experienced on the live site, which you can access here.

Pet Supplies Custom Header

Setting Conditions For A Conditional Layout

With a Global Layout, there are no Conditions. This is because it’s global, and any Layout Sections added to it will be used on every page. If, however, you wanted a Custom Header just on some pages of your site, you’d need to add a Header Layout Section to a Conditional Layout.

With any Conditional Layout, you need to set the conditions of the layout. This is best done last, because as soon as you set the conditions, the layout is active, and if you do this after first creating the Layout Section, but before editing it, the pages displayed that fit the conditions would be empty in those sections.

To add a condition, or conditions, simply mouse over the bottom of the Layout, and choose Add A Condition. This brings up the Layout Conditions Dialog. Please see Understanding Conditional Layouts for more information on Conditional Layouts.

In the example of the Pet Supplies Website, there is also a Conditional Custom Header, which only displays on one page, the Alternate Home Page. See below for the Conditions set to achieve that, and further below for an example of what that Header looks like on the Alternative Home page.

Pet Supplies Alternate Header Conditions
Pet Supplies Alternate Header

Conclusion

With Avada Layouts, creating a Custom Header is an unlimited possibility. Not only can you use the full power of Avada Builder to create almost any Header you can conceive of, and thanks to the power of Conditional Layouts, you can also show, or hide, the Header on any page, category, custom post type, or any combination of conditions you can think of. And with Avada Studio, adding a new Header is as easy as it gets.

Avada Layouts is a game changer in the true sense of the word. It enables such freedom of design, and gives such flexibility in deployment, that building Headers will simply never be the same again.

]]>
How To Set Header Background Parallax Options https://avada.com/documentation/how-to-set-header-background-parallax-options/ Tue, 28 Jan 2020 00:11:18 +0000 https://theme-fusion.com/?post_type=documentation&p=692614

There are two different methods to implement parallax options on header background images. Below we show both methods – the first one when using Avada Layouts to create a custom Header Layout Section, and the legacy method of choosing a Header Layout via Global Options.

Avada Layouts Header Method

In an Avada Layout Section, the Background Parallax options are found on the Container, Background > Images tab. When you add an image, you get a Background Parallax option. There are six options to choose from, including the default No Parallax. The others are Fixed, Up, Down, Left, and Right. Depending on your choice, you may see further options below, to control the speed and whether it’s enbabled on mobile etc.

Avada Layouts > Header Image Background Parallax

Global Options Header Method

For Global Option headers, there is a single, and simple, option for setting parallax scrolling on the header background image. This causes the header background image to be fixed, and so it doesn’t move with the header when you scroll.

This is found under Avada > Options > Header > Header Background Image, and the parallax option will show when an image is selected as the header background. Set Parallax Background Image to On to use a parallax scrolling effect on the background image. There is also an option for 100% Background Image, to have the header background image display at 100% in width and height according to the window size, and another option to control any repeating of the background image.

This setting only works for the top header position. For top headers, the image displays on top of the header background color and will only display if the Header Background Color is fully opaque (i.e. it is a hexadecimal value, as opposed to an rgba value with transparency – eg. rgba(255,255,255,0.75)).

Global Options Header > Parallax Options
]]>