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

  • Home
  • SEARCH
  • 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 8667025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:52:15+00:00 2026-06-12T17:52:15+00:00

I don’t understand why this is happening with my responsive twitter bootstrap nav. Here’s

  • 0

I don’t understand why this is happening with my responsive twitter bootstrap nav. Here’s a screenshot:

https://www.evernote.com/shard/s3/sh/79b436f8-822c-4fdc-ad36-a1d706686d05/3a735fc948474e109c08b773f01f0cf8

It’s adding those weird arrows that point up. The carets are intended and those are ok. It goes away if I remove all of the dropdown classes from the <li class="dropdown">. But doing that breaks the nav. Otherwise the nav is working great. Here’s my markup:

<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>
      <%= link_to "Tip Share", root_path, :class => "brand" %>

      <div class="nav-collapse">

                <ul class="nav pull-left">
                    <% if current_user %>
                        <li class="dropdown">
                          <a href="#"class="dropdown-toggle" data-toggle="dropdown">
                            Sales
                                <span class="caret"></span>
                          </a>
                          <ul class="dropdown-menu">
                                <li><%= link_to "New Sales", new_sale_path  %></li>
                                <li><%= link_to "Manage Sales", sales_path  %></li>
                          </ul>
                        </li>

                        <li class="dropdown">
                          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            Shifts
                                <span class="caret"></span>
                          </a>
                          <ul class="dropdown-menu">
                                <li><%= link_to "New Shift", new_shift_path %></li>
                                <li><%= link_to "Manage Shifts", shifts_path %></li>
                          </ul>
                        </li>

                        <li class="dropdown">
                          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            Employees
                                <span class="caret"></span>
                          </a>
                          <ul class="dropdown-menu">
                                <li><%= link_to "New Employee", new_employee_path %></li>
                                <li><%= link_to "Manage Employees", employees_path %></li>
                          </ul>
                        </li>

                        <li class="dropdown">
                          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            Positions
                                <span class="caret"></span>
                          </a>
                          <ul class="dropdown-menu">
                                <li><%= link_to "New Position", new_position_path %></li>
                                <li><%= link_to "Manage Positions", positions_path %></li>
                          </ul>
                        </li>
                    <% end %>
                </ul>

                <ul class="nav pull-right">
                    <% if current_user %>
                        <li>
                        <%= link_to root_path do %>
                        <%= current_user.email %>
                    <% end %>
                    </li>
                    <li><%= link_to 'Log out', logout_path %></li>
                    <% else %>
                    <li><%= link_to 'Sign up', signup_path %></li>
                    <li><%= link_to 'Log in', login_path  %></li>
                  <% end %>
                </ul>
      </div>
    </div>
  </div>
</div>

It seems like there’s nothing wrong with this markup, but I keep getting these little arrows. I’d rather figure what I’m doing wrong with bootstrap than try to override it with css

How do I get rid of these arrows?

FYI, I’m using the bootstrap-sass gem to import twitter bootstrap.

  • 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-12T17:52:17+00:00Added an answer on June 12, 2026 at 5:52 pm

    Adding .navbar-inner gives it enough specificity to work:

    /* Landscape phone to portrait tablet */
    @media (max-width: 767px) { 
        .navbar .navbar-inner .nav > li > .dropdown-menu:after {
          display: none;
        }
    }/* end media query */
    

    But, I find it weird that the rule that is included in Boostrap by default doesn’t work:

    .navbar .nav > li > .dropdown-menu:after
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't know why this is happening, but after submitting a form via JS (using
Don't understand this simple code: def main(): print (This program illustrates a chaotic function)
Don't understand, if Data.Map is and [] is. I found this out while wondering
don't know better title for this, but here's my code. I have class user
Don't quite understand why this copy constructor is not invoked when I build with
Don't dismiss this as a newbie question! It's not, I'm not, I've tried everything,
I don't know why, but this code worked for me a month ago... maybe
Don't know if anyone can help me with this or if it's even possible.
Don't think that I'm mad, I understand how php works! That being said. I
Don't know if I'm missing something here. I'd like to run multiple global variables

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.