The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

navbar inside the toolbar?

4 posters

Go down

Solved navbar inside the toolbar?

Post by Trych Mon 29 Jun - 2:35

hello!

im using modernBB version and i am trying to put my whole navbar inside my toolbar at all time and im not sure where to start with it.
link: https://www.mhafanbase.com/

right now its the basic sticky navbar with transition when you scroll down but id like do to so I remove the share button and search bar from the toolbar and put the navigation bar there instead if that make sense. Razz


Last edited by Trych on Wed 1 Jul - 11:53; edited 1 time in total
Trych
Trych
New Member

Posts : 22
Reputation : 1
Language : French/english

https://www.facebook.com/

Back to top Go down

Solved Re: navbar inside the toolbar?

Post by SLGray Mon 29 Jun - 3:33



navbar inside the toolbar? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: navbar inside the toolbar?

Post by Trych Mon 29 Jun - 5:26

Awesome I could remove some parts! Now is the tooldbar in a template? Im trying to find a way to fuse the navbar with it!
Trych
Trych
New Member

Posts : 22
Reputation : 1
Language : French/english

https://www.facebook.com/

Back to top Go down

Solved Re: navbar inside the toolbar?

Post by SLGray Mon 29 Jun - 8:05

So you do not want the navbar that appears when you scroll down the page?


navbar inside the toolbar? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: navbar inside the toolbar?

Post by Trych Mon 29 Jun - 8:20

SLGray wrote:So you do not want the navbar that appears when you scroll down the page?

I want to incorporate the navigation barr inside the toolbar, so its always fixed at the top on the same line as the toolbar if that make sense :o
Trych
Trych
New Member

Posts : 22
Reputation : 1
Language : French/english

https://www.facebook.com/

Back to top Go down

Solved Re: navbar inside the toolbar?

Post by mSyx Tue 30 Jun - 18:13

Oi,
Add the following CSS in your CSS stylesheet:

Code:
.headerbar ul.navbar.navlinks {
  position: fixed;
  left: 128px;
  top: 6px;
  z-index: 99999;
}

.headerbar ul.navbar.navlinks li {
  margin: 0;
}

.is-sticky#headerbar-top.w-toolbar {
  top: 0 !important;
  z-index: 99999 !important;
  background-color: transparent;
  box-shadow: none;
  }
mSyx
mSyx
Forumember

Male Posts : 155
Reputation : 47
Language : French & English
Location : France

https://help.forumotion.com/

TonnyKamper and Trych like this post

Back to top Go down

Solved Re: navbar inside the toolbar?

Post by Trych Wed 1 Jul - 9:01

This work but my only problem is that the whole navigation menu is hidden until we scroll down navbar inside the toolbar? 1f614
Spoiler:

Edit: Solved by adding more *9* to the z-index property! I love you

I greatly apprecitate the help for this code, thank you @mSyx!
Trych
Trych
New Member

Posts : 22
Reputation : 1
Language : French/english

https://www.facebook.com/

TonnyKamper and mSyx like this post

Back to top Go down

Solved Re: navbar inside the toolbar?

Post by mSyx Wed 1 Jul - 18:33

Oh yeah, I omitted that. My bad :/
Glad you figured out how to fix this aswell!
mSyx
mSyx
Forumember

Male Posts : 155
Reputation : 47
Language : French & English
Location : France

https://help.forumotion.com/

TonnyKamper and Trych like this post

Back to top Go down

Solved Re: navbar inside the toolbar?

Post by skouliki Wed 1 Jul - 21:56

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum