Skip to content
Discussion options

You must be logged in to vote

Hey @SiL3NC3 thanks for the question.

it's not straightfoward with the Backpack theme at the moment 😞 , in v6 this will be smooooooth, but right now it's kinda messy.

You need to set fixed-top as you did, but also this Backpack theme uses another class that is app-header, and that class breaks the usage of the fixed-top position in the header because it uses position: relative;.

I won't suggest to change .app-header directly because it's also used in the sidebar, so what I suggest is that you remove the .app-header class from the header classes and add the .fixed-top. This will make the header sticky but will lose other configurations that are present in .app-header.

Check in the browser …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@SiL3NC3
Comment options

@pxpm
Comment options

pxpm Apr 1, 2023
Maintainer

@SiL3NC3
Comment options

@pxpm
Comment options

pxpm Apr 1, 2023
Maintainer

@SiL3NC3
Comment options

Answer selected by SiL3NC3
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants