navbar

Bootstrap navbar no border radius?

允我心安 提交于 2020-01-14 09:58:12
问题 I'm trying to remove the border and round corner from the nav-bar. .navbar-default { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } But it does not work, any ideas? HTML, <nav class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="#">Brand</a> </div> <ul class="nav navbar-nav"> <li><a href="#">Home</a></li> <li><a href="#">Work</a></li> <li><a href="#">Shop</a></li> <li><a href="#">About</a

Navbar for all pages in a multipage HTML5 web app using a jQuery Mobile on client side

≡放荡痞女 提交于 2020-01-14 03:19:11
问题 I am using jQuery Mobile to create a WebApp. And I have a page like this : <div data-role="page" id="page1"> <div data-role="header"> <p> Page 1 </p> <div data-role="navbar"> <ul> <li><a href="#page1">To first</a></li> <li><a href="#page2">To second</a></li> </ul> </div> </div> </div> <div data-role="page" id="page2"> <div data-role="header"> <p> Page 2 </p> <div data-role="navbar"> <ul> <li><a href="#page1">To first</a></li> <li><a href="#page2">To second</a></li> </ul> </div> </div> </div>

left, right & centering content inside a bootstrap navbar

岁酱吖の 提交于 2020-01-11 13:06:12
问题 trying to get a bootstrap navbar to have links on the left, center and right side on a responsive website. is this even possible? maybe navbar-justified is wrong to center content on the navbar? <nav class="navbar navbar-default navbar-fixed-top"> <div class="container-fluid"> <div class="navbar-header"> <ul class="nav navbar-nav navbar-left"> <a class="navbar-brand" href="#home"> LEFT </a> </ul> <ul class="nav navbar-nav navbar-justified"> <a href="#"> CENTER </a> </ul> <ul class="nav navbar

Navigation bar hides but leaves space when using navigation drawer in android 5+

假如想象 提交于 2020-01-11 06:25:10
问题 I am trying to develop a full-screen app with 2 main activities: LoginActivity and DashboardActivity. LoginActivity has only the UI for user input to login like Username and password. In this screen the nav and status bar gets hidden completely without leaving any space. After login in the DashboardActivity I have a toolbar with Navigation drawer. In this activity I did all things I did in LoginActivity. What happens is the Nav and status bar gets hidden but the space occupied by Nav bar

iOS 10 iMessage app extension: how do i calculate the height of the extra tall navbar

元气小坏坏 提交于 2020-01-09 12:53:35
问题 I downloaded the Xcode 8 beta and was trying to play around with the iMessages app extension sdk but ran into an issue with their seemingly nonstandard nav bar height when i transition into the app's expanded view, my image with the following frame CGRect(x: 0, y: 0, width: 100, height: 100) ends up partially hidden behind the nav bar. i would like it to appear below the nav bar. i tried self.navigationController?.navigationBar.isTranslucent = false but it didn't work, which i guess makes

iOS 10 iMessage app extension: how do i calculate the height of the extra tall navbar

北战南征 提交于 2020-01-09 12:53:12
问题 I downloaded the Xcode 8 beta and was trying to play around with the iMessages app extension sdk but ran into an issue with their seemingly nonstandard nav bar height when i transition into the app's expanded view, my image with the following frame CGRect(x: 0, y: 0, width: 100, height: 100) ends up partially hidden behind the nav bar. i would like it to appear below the nav bar. i tried self.navigationController?.navigationBar.isTranslucent = false but it didn't work, which i guess makes

Bootstrap navbar is above background

随声附和 提交于 2020-01-06 08:06:52
问题 currently my navbar is floating above my content. I tried to make the z-index higher than the backgrounds. Anybody got an idea? My HTML: <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> <a class="brand" style="margin: 0; float: none;" href="#"> <img src="/img/helmet.png" alt="logo" title="logo" height="100" with="50" /> </a> <div class="collapse navbar-collapse" id="navbarNavAltMarkup"> <ul class="navbar-nav pull-left"> <li class="nav-item active"><a href="#" class="nav-link">Status<

Dynamically creating nested navigation menu item using Bootstrap and Angularjs

冷暖自知 提交于 2020-01-05 08:32:13
问题 What I want to achieve is dynamically creating a menu in bootstrap based on a json using angularjs. The json looks like this: { "Page A":"page_A.html", "Page B":{ "Page B1":"page_B/page_B1.html", "Page B2":"page_B/page_B2.html", "Page B3":{ "Page B3-a":"page_B/page_B3/page_a.html", "Page B3-b":"page_B/page_B3/page_b.html" } }, "Page C":"page_C.html" } where The object key is the name of the page and object value is the physical file location. The angular app.js look like this app.controller(

Dynamically creating nested navigation menu item using Bootstrap and Angularjs

☆樱花仙子☆ 提交于 2020-01-05 08:32:11
问题 What I want to achieve is dynamically creating a menu in bootstrap based on a json using angularjs. The json looks like this: { "Page A":"page_A.html", "Page B":{ "Page B1":"page_B/page_B1.html", "Page B2":"page_B/page_B2.html", "Page B3":{ "Page B3-a":"page_B/page_B3/page_a.html", "Page B3-b":"page_B/page_B3/page_b.html" } }, "Page C":"page_C.html" } where The object key is the name of the page and object value is the physical file location. The angular app.js look like this app.controller(

Bootstrap 3 RC2 Navbar with Multiple Collapses

拜拜、爱过 提交于 2020-01-05 04:55:12
问题 I'm trying to figure out how best i can get the following layout in Bootstrap 3 RC2. Where the left items are the primary nav UL, and the side icons, are an additional UL or just a set of links that share a common look, but provide a dropdown or hide/show toggle for their content (list for the group, but hoping to do an interactive search and cart display for the others). Currently, this plays fine when i do this code: <div class="nav-wrapper" style="height: 56px;"> <div class="nav-primary