Navigation

ThemeWare® Manual

Configuration

Theme settings for the sticky navigation of the basic headers, including whether it is shown and whether it stays fixed when scrolling down or up.

Applies to ThemeWare® 5.6.0 · Checked on


Show sticky top navigation

Field type:
Select

Available values:
• don't show
• show

Default value:
show

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')"

Technical name:
twt-sticky-nav-main-show

Only available if "Top navigation" is set to "show list".

Basic configuration


Fixed

Field type:
Select

Available values:
• fixed when scroll down
• fixed when scroll up

Default value:
fixed when scroll up

Differs in design variants:
• Clean, Exquisite, Outdoor: fixed when scroll down

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Basic configuration"

Technical name:
twt-sticky-nav-main-type


Scroll top

Field type:
Number field

Available values:
0 to 5000

Default value:
0

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Basic configuration"

Technical name:
twt-sticky-nav-main-scroll-top

Set the additional scroll depth (scrollTop) at which the "Sticky top navigation" is activated. Regardless of the value, the navigation's own position and height are always included.


Show from...

Field type:
Select

Available values:
• Tablet (landscape) (≥992px)
• Desktop (≥1200px)
• Container-max-width (Full-width Boxed)

Default value:
Tablet (landscape) (≥992px)

Differs in design variants:
• Bike: Desktop (≥1200px)

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Basic configuration"

Technical name:
twt-sticky-nav-main-breakpoint


Height

Field type:
Number field

Available values:
1 to 500

Default value:
50

Differs in design variants:
• Bike: 52
• Clean: 60

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Basic configuration"

Technical name:
twt-sticky-nav-main-height


Text alignment

Field type:
Select

Available values:
• align left
• align right
• align center
• space-between
• space-around

Default value:
align center

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Basic configuration"

Technical name:
twt-sticky-nav-main-justify-content

Select the desired horizontal alignment.

left
Items are positioned at the beginning of the container.

right
Items are positioned at the end of the container.

center
Items are positioned at the center of the container.

space-between
Items are positioned with space between them.

space-around
Items are positioned with space before, between, and after them.


Show hamburger navigation

Field type:
Select

Available values:
• don't show
• show

Default value:
don't show

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Basic configuration"

Technical name:
twt-sticky-nav-main-toggle


Show cart button

Field type:
Select

Available values:
• don't show
• show

Default value:
show

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Basic configuration"

Technical name:
twt-sticky-nav-main-cart-show


Field type:
Select

Available values:
• don't show
• show

Default value:
don't show

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Basic configuration"

Technical name:
twt-sticky-nav-main-search-show

Colour configuration


Background colour

Field type:
Colour picker

Default value:
#ffffff

Differs in design variants:
• Exquisite: #111111
• Fit, Kids: $sw-color-brand-primary
• Strong: #21262c

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Colour configuration"

Technical name:
twt-sticky-nav-main-background-color

Tip: Use a colour that matches your regular "Top navigation" so that the menu buttons are clearly visible in both elements.


Field type:
Select

Available values:
• don't show
• show

Default value:
show

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Logo"

Technical name:
twt-sticky-nav-main-logo-show


Width

Field type:
Text field

Default value:
120

Differs in design variants:
• Exquisite, Global: 80

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Logo"

Technical name:
twt-sticky-nav-main-logo-width


Height

Field type:
Text field

Default value:
auto

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Logo"

Technical name:
twt-sticky-nav-main-logo-height


Margin right

Field type:
Number field

Available values:
1 to 100

Default value:
20

Path to the configuration:
Tab "Header" => Block "Sticky top navigation (Basic headers: 'Header 1' and 'Header 2')" => Section "Logo"

Technical name:
twt-sticky-nav-main-logo-margin-right

Last updated on

More from ThemeWare®: About ThemeWare® · Demoshops · Knowledge base · Video tutorial · Utilities

This page online: https://docs.themeware.design/manual/header/sticky-top-navigation-basic-headers-header-1-and-header-2/configuration · ThemeWare® Service Portal, service.themeware.design