gentelella icon indicating copy to clipboard operation
gentelella copied to clipboard

How fixing navbar-header

Open alexrmg opened this issue 9 years ago • 9 comments

Thanks for your suggestion on issue #456. It doesn't work out for me.. What i want is fixing the Navbar, that on the header, no the sidebar.

I would appreciate if you have any suggestion about this fixing..

thanks.

alexrmg avatar Jun 17 '17 17:06 alexrmg

If you're using bootstrap "menu_fixed" will help, if it doesn't, you're doing something wrong.

AndreiCN avatar Jun 19 '17 11:06 AndreiCN

I tried "menu_fixed" on both "top_nav" and "nav_menu" from the plain zip file I download from Github and it doesn't work.

I also tried bootstrap own's "navbar-fixed-top", it'll make a fixed nav but hide the class "below" it ("right_col" class).

nd3w avatar Jun 20 '17 00:06 nd3w

It happens exactly the same as you w4r0. It doesn´t work...

alexrmg avatar Jun 20 '17 12:06 alexrmg

I would love to help you guys, but right know I don't get your problem - or to be more specific - what you mean with header. Maybe you can add a screenshot and mark the area you want to have fixed?

This is what I mean: http://imgur.com/a/vsNuX

mortel avatar Jun 22 '17 09:06 mortel

Or do you want this: http://imgur.com/a/6CrTh For this, you have to add navbar-fixed-top to the div with class="top_nav". <div class="top_nav top_nav_fixed">

mortel avatar Jun 22 '17 09:06 mortel

MORTEL, that is the real solution... i am very grateful.... issue closed to me..

regards..

alexrmg avatar Jul 04 '17 03:07 alexrmg

@mortel Please edit your answer! You have to use dash instead of underline in html code: <div class="top_nav top-nav-fixed">

When I add navbar-fixed-top, it'll make a fixed nav but hide the .page-title div!

mbasirati avatar Jul 15 '17 07:07 mbasirati

I ended up using <div class="top_nav navbar-fixed-top">, but I have to add a margin-top to .page-title class:

.page-title {
width: 100%;
height: 65px;
padding: 10px 0;
margin-top: 45px;}

I know it's a hack, but it works, until someone make it a fix.

nd3w avatar Jul 16 '17 09:07 nd3w

none of these helped me.

ShedrackGodson avatar Jan 20 '22 10:01 ShedrackGodson