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.

SchmidtCreation
 
core77 replied on at Permalink Reply
jordif replied on at Permalink Reply
jordif
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.

.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
SchmidtCreation replied on at Permalink Reply
SchmidtCreation
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.
Chewner replied on at Permalink Reply
Chewner
THIS worked like a charm for me. Thanks so much Jordif!
PixelFields replied on at Permalink Reply
PixelFields
Thanks jordif, works perfectly and no need to fuss with edit mode only css :)