Skip to content

do not add css class "fixed-nav" to body if "onpage_menu" is set to false#8

Open
hebestreit wants to merge 1 commit intogetgrav:developfrom
hebestreit:bugfix/fixed-nav-when-disable-onpage_menu
Open

do not add css class "fixed-nav" to body if "onpage_menu" is set to false#8
hebestreit wants to merge 1 commit intogetgrav:developfrom
hebestreit:bugfix/fixed-nav-when-disable-onpage_menu

Conversation

@hebestreit
Copy link

If you're disabling "onpage_menu" for modular pages CSS class "fixed-nav" will be added to your body and you'll get some padding-top of 50px, which is only necessary for fixed navbar.

See Bootstrap documentations:
https://getbootstrap.com/components/#callout-navbar-fixed-top-padding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant