Header Block Overview
The main features of the Header block.
The header area of the site is usually used to display the navigation bar, logo, signin/signup , and can include other functionality depending on the nature of the site. Softr has several header layouts with different types of links and buttons that can be customized according to your requirements. Here are the layouts that we currently provide:
In this guide, we’re going to discuss the common features of the block and how it works in general. You can find more details on each header block layout in its respective article.
Logo
All the Header block layouts have a Logo field that can be removed or changed by clicking on it. You can upload an image or choose one from the library.
Buttons and links
Apart from the logo, there are Buttons and Links, which can also have Sublinks that appear within a dropdown opened when hovering over or clicking the link. Each layout has certain links and buttons by default, but you can add as many as you wish.
The links have a text area to enter the link name and an Add action button to specify what the link does. The action can be set to Open Page, Scroll to section, Open external url, or Sign out
A Sublink can be added to the link by clicking the Add sublink option.
After adding a Sublink, the Add action option of the link becomes unavailable, as its only action now is to display the sublinks. Sublinks are configured similar to Links.
Buttons have a configuration similar to that of Links. The only difference is the visual layout.
Show User Profile
This option is typically used to show a user profile icon with a dropdown to logged-in users. By default, you have the Sign Out and My Profile links, but you can add as many additional options as needed as well as remove the default ones.
You can see how this option is applied in this tutorial on setting up Memberships.
Sticky Header
Lastly, there is the Always show the header on top of the screen option. When enabled, the header will become sticky and will stay on the screen when scrolling down.
That's it for the overview. You can explore each layout in greater detail in the subsections to this article.
Last updated on January 4, 2023