Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add bootstrap menu same line in startbootstrap-simple-sidebar? #46

Closed
vanloc0301 opened this issue Nov 7, 2016 · 2 comments
Closed

Comments

@vanloc0301
Copy link

I have a menu with code like this:

<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top navbar-shrink">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header page-scroll">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand page-scroll" href="#page-top">Celine Is Awesome</a>
            <a href="#menu-toggle" class="btn btn-default" id="menu-toggle">Toggle Menu</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <li class="hidden active">
                    <a href="#page-top"></a>
                </li>
                <li class="">
                    <a class="page-scroll" href="#services">HOME</a>
                </li>
                <li class="">
                    <a class="page-scroll" href="#portfolio">ABOUT US</a>
                </li>
                <li class="">
                    <a class="page-scroll" href="#about">OUR INVESTMENTS</a>
                </li>
                <li class="">
                    <a class="page-scroll" href="#team">WHY US</a>
                </li>
                <li class="">
                    <a class="page-scroll" href="#contact">PRODUCTS</a>
                </li>
                <li class="">
                    <a class="page-scroll" href="#contact">NEWS & EVENTS</a>
                </li>
                <li class="">
                    <a class="page-scroll" href="#contact">CONTACT US</a>
                </li>
                <li class="">
                    <a class="page-scroll" href="#contact">E-BROCHURE</a>
                </li>
            </ul>
        </div>
        <!-- /.navbar-collapse -->
    </div>
    <!-- /.container-fluid -->
</nav>
<!-- /.navigation -->

I tried to add into startbootstrap-simple-sidebar like this:

capture

And when click this button it will show like that:

capture1

This only a demo, I can't do like this.

My problem is: when I tried to add menu bootstrap, the startbootstrap-simple-sidebar not appear.

@davidtmiller
Copy link
Member

I'll probably build this into the Bootstrap 4 version.

@davidtmiller
Copy link
Member

I have a top bar added now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants