jornes
September 28, 2022, 1:40am
21
As Thomas said, the sticky header is using position:sticky for the sticky header and position:absolute for the fixed header.
What you need to do is to use the media query. For example,
@media all and (max-width: insert width for mobile breakpoint ) {
class for the stick header {position:relative; or static; }
}
See if it helps.
timmse
September 28, 2022, 4:20pm
22
Yep, with static, the header scrolls with the content. If you want it always to stay (sticky) and not be pulled out of the viewport, you just have to set the transform to 0:
@media (max-width: 767px) {
#brx-header.sticky.slide-up {
transform: translateY(0);
}
}
Best regards,
timmse
1 Like
rizwan
September 29, 2022, 9:22am
23
thanks for this i applied it and its works
rizwan
October 15, 2022, 6:33am
25
i have another question ? can we make two headers in bricks and perform one header to the 1 page and second header to the new page
timmse
October 15, 2022, 1:30pm
26
Yep, with conditions @rizwan
1 Like
rizwan
October 18, 2022, 6:07am
27
I have a menu button.and when we click it it shows menu in desktop.so i wanted to only click to button to open menu
how i do it there is a work pending so please guide me
rizwan
October 18, 2022, 6:08am
28
i seen a video there he shows a method about accordian to select menu with icon but i want to show it with the button