Hi @Lovegiver. Stick navbar add .navbar-fixed-top and include a .container or .container-fluid to center and pad navbar content, further explanation see link below:
I’ve tried what you told me, but the result is not satisfying.
There were 2 things :
fix the nav bar in order to remain it accessible by the users without scrolling
fix the side bars in order to maintain actions menu accessible instead of having empty spaces
The nav bar
What you told is working but I need to set the nav bar at the very top of the page. The nice picture and the banner above still continue moving.I tried to couple the banner and Nav bar in the same div to solidarize them, but the banner is not fixed.
Bootstrap Affix
That doesn’t work at all. The left and right side bars are columns in a row, but checking the Affix control doesn’t fix them at all.
Is there any settings I should do to make the Affix option works ?
Hi Rob, do not be stresses for me. I’m glad you help me and that’s enough ^^
I hope my knowledges in CSS matters will increase quickly and I’m sure the problem is me, not the product…
Javascript is still not my cup of tea and that’s a bad thing when working on website. Much better in Java !!
@Lovegiver, sorry for taking so long this took more effort than I expected! Here’s where I’m at with this and hopefully it will do what you require. It seems that Affix is being dropped for Bootstrap 4 and at the moment they are recommending using the HTML5 sticky property with the use of a polyfill to get it working properly in as many browsers as possible. So with this in mind I downloaded this sticky polyfill and went to work and the result can be view here and you can download a zip file containing the demo I’ve created so you can pick through it and apply it to your own project from here.
Hope this helps you achieve what you’re after. One thing to remember is that the element that has sticky will remain fixed in it position for as long as the element containing it is on the screen, e.g. if the sticky element fills its row it won’t stick!
@Lovegiver This is not a Pinegrow issue it is more about Browser support and HTML5. I think the work around is to just have these on file and just add these to projects when needed. Hope the files make sense to you, if you’re stuck just reply here and I’ll try to help out.