Getting around .navbar-fixed-top in bootstrap and using congrete5
Permalink 3 users found helpful
I am playing around in making bootstrap themes and using congrete5. I did notice that when i am using .navbar-fixed-top class, i can not see the congrete5 top bar, when i am looked in, can any body help me here.
Hi,
are you using concrete5 5.6 or 5.7?
In 5.7, a class ("ccm-toolbar-visible") is added to the page when the toolbar is visible. So you only need to add a line to your CSS to make sure your nav bar does not cover the toolbar.
In 5.6, you'll need to add a class yourself, as explained here:
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
Regards,
Jordi
are you using concrete5 5.6 or 5.7?
In 5.7, a class ("ccm-toolbar-visible") is added to the page when the toolbar is visible. So you only need to add a line to your CSS to make sure your nav bar does not cover the toolbar.
.ccm-toolbar-visible .navbar-fixed-top { top:49px; }
In 5.6, you'll need to add a class yourself, as explained here:
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
Regards,
Jordi
Since it is 5.7, i am working in, i will try using the css code that you gave me Jordi. Thanks for the help.
THIS worked like a charm for me. Thanks so much Jordif!
Thanks jordif, works perfectly and no need to fuss with edit mode only css :)
https://github.com/core77/c5f5boilerplate/blob/master/blocks/autonav...