Putting content/banner above the “Fixed Top Navbar”

后端 未结 2 683
不知归路
不知归路 2020-12-31 21:23

I want to put an banner onto the fixed top navbar of the Bootstrap. My aim is using the navbar as the navigation for operations and putting a banner of the project

2条回答
  •  傲寒
    傲寒 (楼主)
    2020-12-31 21:43

    In response with Skelly's solution, I would not recommend using bootstrap's grid system to style your header. The reason being that on mobile devices this will create unnecessary line separating or unwanted spacing even with the use of "hidden-sm". You can see this as you bring the right element closer to the left element on your browser.

    Instead use.. "nav-header"

      

提交回复
热议问题