Floating nav bar

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: Floating nav bar

Post by 2600 »

Lumpy Burgertushie wrote: Fri Jun 07, 2019 1:39 am open common.css
find:

Code: Select all

.navbar {
	padding: 3px 10px;
	border-radius: 7px;
}
replace with:

Code: Select all

.navbar {
	padding: 3px 10px;
	border-radius: 7px;
	   position: sticky;
    top: 0;
    z-index: 1000;
}


My common.css was a little different in Aero and Win 10 themes.


3Di wrote: Fri Jun 07, 2019 2:25 am https://github.com/cabot/fixednavbar

This works exactly as I wanted. Thanks!
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6673
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Floating nav bar

Post by HiFiKabin »

User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: Floating nav bar

Post by 2600 »

I'll check that out on my test domain. Thanks.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
User avatar
Sniper_E
Registered User
Posts: 1136
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Floating nav bar

Post by Sniper_E »

Dmzx has a Fixed Navbars extension. I'm sure it could easily be cofigured to show only the fixed header navbar. It shows the fixed footer navbar also but that can be removed.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Floating nav bar

Post by 3Di »

John connor wrote: Fri Jun 07, 2019 6:47 am This works exactly as I wanted. Thanks!
Yup.
HiFiKabin wrote: Fri Jun 07, 2019 6:04 pm Or this viewtopic.php?f=456&t=2436091
The one I tested works also in the FAQ's page with anchors.
With controllers, generally speaking.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Post Reply

Return to “Extension Requests”