Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8165903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:40:52+00:00 2026-06-06T19:40:52+00:00

I have a navbar with 4 elements in it. The first is just a

  • 0

I have a navbar with 4 elements in it. The first is just a home link, the second and third have dropdowns and the fourth is pulled right with a dropdown.

Now the dropdowns of the second and third element always apear under the first menu item and not under the one clicked.

The fourth one does not have this problem, what am I doing wrong?

<div class="navbar navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container">
      <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </a>
      <a class="brand" href="#"><span class="blue">art</span><span class="black">ly.de</span></a>
      <div class="pull-right">
        <ul class="nav">
          <li class="divider-vertical"></li>
          <li>
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="icon-user"></i> Patrick Fraley
              <span class="icon-caret-down"></span>
            </a>
            <ul class="dropdown-menu">
              <li><a href="#"><i class="icon-edit"></i> Profile</a></li>
              <li><a href="#"><i class="icon-cog"></i> Account Settings</a></li>
              <li class="divider"></li>
              <li><a href="#"><i class="icon-signout"></i> Sign Out</a></li>
            </ul>
          </li>
        </ul>
      </div>
      <div class="nav-collapse">
        <ul class="nav">
          <li class="active"><a href="#">Dashboard</a></li>
          <li>
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              Elements
              <span class="icon-caret-down"></span>
            </a>
            <ul class="dropdown-menu">
              <li><a href="#">Calendar</a></li>
              <li><a href="#">Forms</a></li>
              <li><a href="#">Graphs</a></li>
              <li><a href="#">Tables</a></li>
              <li><a href="#">Typography</a></li>
            </ul>
          </li>
          <li>
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              Pages
              <span class="icon-caret-down"></span>
            </a>
            <ul class="dropdown-menu">
              <li><a href="#">Login</a></li>
              <li class="divider"></li>
              <li><a href="#">Error 404</a></li>
              <li><a href="#">Error 500</a></li>
            </ul>
        </ul>
      </div><!--/.nav-collapse -->
    </div>
  </div>
</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:40:55+00:00Added an answer on June 6, 2026 at 7:40 pm

    I think you forgot class="dropdown" on your .nav lis that hold the dropdowns.

    And you also missed one </li>

    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <!-- ... -->
                <div class="pull-right">
                    <ul class="nav">
                        <li class="divider-vertical"/>
                        <li class="dropdown">
                            <!-- ... -->
                        </li>
                    </ul>
                </div>
                <div class="nav-collapse">
                    <ul class="nav">
                        <li class="active">
                            <!-- ... -->
                        </li>
                        <li class="dropdown">
                            <!-- ... -->
                        </li>
                        <li class="dropdown">
                            <!-- Missed this /li -->
                        </li>
                    </ul>
                </div>
                <!--/.nav-collapse -->
            </div>
        </div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a navbar that is like so: <ul> <li><a href=index.html>Home</a></li> <li><a href=gallery.html>Gallery</a></li> <li><a
I have a simple design. To the left is the navbar, to the right
I currently have the following code. I am trying to get the second, third,
I have a navbar right under the title to the site, but I want
I have a navbar that drops down. The parent text is black, when you
I have a nav bar with children unordered lists nested under the main navbar
If I have a chunk of code like this: .hover( function () { hoverState($(#navbar
Have a matrix report now that has Position, Hours and Wages for a location
I have a header div as the first element in my wrapper div, but
I have a horizontal nav bar, and my a elements are not expanding to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.