This topic is locked
[SOLVED]

custom header top

10/30/2021 12:42:21 AM
PHPRunner General questions
M
MikeT author

I didn't find anything about this, maybe not possible:

Can you move the custom header code above the menu bar in the layout (without editing the html)?
With custom header I mean the "header" file that's available in he page editor.

So in the attached screenshot example: have the yellow part above the grey menu bar.
In my case the custom header would be a smal height bar the covers the entire width of the page, it should be always there on all pages.

Thanks

img alt

admin 11/1/2021

We do not have such a built-in functionality but you can achieve something like this using CSS. See some examples of implementing a "sticky header" with the help of CSS:
https://dev.to/akhilarjun/one-line-sticky-header-using-css-5gp3
https://css-tricks.com/sticky-headers-5-ways-to-make-them-better/