Submenu Utility Classes

Dropdown submenus of the header can have some more properties when you need it.

The Classes:

Right Aligned Submenu

Assign “pos-right” class to the parent menu item to open its children menu right aligned.

Center Aligned Submenu

Assign “pos-center” class to the parent menu item to open its children menu center aligned.

Left Aligned Submenu

Assign “pos-left” class to the parent menu item to open its children menu left aligned.

Assigning Bootstrap Classes to Menu Items

Some bootstrap classes can be also added to menu items for additional styling.

For example, to get a menu item have a bottom border, “border-bottom” class can be added

In the above example, pb-2 class means Support Forums menu item also has padding bottom, and mb-2 class means it has additional margin bottom. See Bootstrap documentation for more:

https://getbootstrap.com/docs/4.3/utilities/spacing/

Was this helpful to you?