On Sale - Peach MyBB Theme - 10$ For limited time Check here
On Sale - Focus Responsive Theme - 20$ For limited time Check here
Go Dark Welcomeblock / Nav
#2
Hey CaptRedFox,
It is a custom work request for the theme. It is completely possible, the raw javascript flow would be like this
- You will need to make edits by writing a jquery onscroll event (MyBB uses Jquery so a jquery method would be better)
- Adding position sticky and for making a sticky header and once a desired scrolling height is reached.

You can look for Focus Theme for example code (https://community.mybb.com/mods.php?action=view&pid=671)

If you want just the top header menu to be sticky, you can use the below css to do that
Code:
.nav {
    position: fixed;
}


Regards
WallBB
Reply


Messages In This Thread
Go Dark Welcomeblock / Nav - by CaptRedFox - 03-11-2021, 02:56 PM
RE: Go Dark Welcomeblock / Nav - by WallBB - 03-12-2021, 12:07 PM



Users browsing this thread: 1 Guest(s)