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)
Get Involved
User avatar
John connor
Registered User
Posts: 2117
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: Floating nav bar

Post by John connor » Fri Jun 07, 2019 6:47 am

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!

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 3989
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Floating nav bar

Post by HiFiKabin » Fri Jun 07, 2019 6:04 pm


User avatar
John connor
Registered User
Posts: 2117
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: Floating nav bar

Post by John connor » Fri Jun 07, 2019 8:23 pm

I'll check that out on my test domain. Thanks.

User avatar
Sniper_E
Registered User
Posts: 775
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Floating nav bar

Post by Sniper_E » Sat Jun 08, 2019 1:54 am

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
Former Team Member
Posts: 13780
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Floating nav bar

Post by 3Di » Sat Jun 08, 2019 2:12 am

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.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Post Reply

Return to “Extension Requests”