Add a separator to each item

1

Hello,

I have the site exemplo.com , in it I use Bootstrap, I would like to add an / a each item in his navbar, like a breadcumb.

As if it were a breadcumb but in navbar.

Thank you in advance.

    
asked by anonymous 31.12.2016 / 10:30

1 answer

3

Although your question is a bit confusing, see if this is not what you need here:

.nav .breadcrumb {
    margin: 0 7px;
}
@media (min-width: 768px) {
    .nav .breadcrumb {
        float: left;
        margin: 7px 10px;
    }
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script><scriptsrc="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
      <div class="container">
       
        <ul class="nav navbar-nav navbar-right">
          <ul class="breadcrumb list-inline">
            <li><a href="#">Home</a></li>
            <li><a href="#">Library</a></li>
            <li class="active">Data</li>
          </ul>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Hello George <b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li><a href="#">Settings</a></li>
              <li><a href="#">Logout</a></li>
            </ul>
          </li>
          <li><a href="#"><span class="glyphicon glyphicon-info-sign icons-padding"></span> Help</a></li>
          <li><a href="#"><span class="glyphicon glyphicon-off icons-padding"></span> Exit</a></li>
        </ul>
      </div>
    </nav>

Source: Breadcrumb into a navbar in bootstrap 3.0.2 .

    
31.12.2016 / 15:18