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 8152449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:43:09+00:00 2026-06-06T15:43:09+00:00

The Bootstrap .dropdown-menu.pull-right selector doesn’t seem to work (the code is in navbar.less, lines

  • 0

The Bootstrap .dropdown-menu.pull-right selector doesn’t seem to work (the code is in navbar.less, lines 330 to 341).

As you can see on this screenshot, the up caret is not aligned to the right.

My dropdown-menu class :

<ul class="dropdown-menu pull-right">

When I change line 286 to

right:10px;

it works fine.

Any idea on how to fix this ?

Here is my html code:

      <div id="USE_dropdown_signin" class="btn-group pull-right">
        <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
          <i class="icon-user"></i> Sign in
        </a>
        <ul class="dropdown-menu pull-right">
          <form action="" method="post" accept-charset="UTF-8">{% csrf_token %}
            <input id="USE_signin_username" type="text" name="signin[username]" size="30" placeholder="User Name"/>
            <input id="USE_signin_password" type="password" name="signin[password]" size="30" placeholder="Password"/>
            <input id="USE_signin_remember_me" type="checkbox" name="signin[remember_me]" value="1" />
            <label id="USE_signin_remember_me_label" class="string optional" for="signin_remember_me"> Remember me</label>
            <input id="USE_signin_submit" class="btn btn-primary" type="submit" name="commit" value="Sign in" />
          </form>
        </ul>
      </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-06T15:43:11+00:00Added an answer on June 6, 2026 at 3:43 pm

    Here is what I didn’t understand:

    1) The boostrtap selector in navbar.less line 329-330

        .navbar .nav.pull-right .dropdown-menu,
        .navbar .nav .dropdown-menu.pull-right {}
    

    didn’t match my dropdown-menu because I don’t have the parent .nav class in my hierarchy.

    2) My .dropdown-menu has the class .pull-right, and this doesn’t match:

        .navbar .dropdown-menu:before .pull-right {
         left: auto;
         right: 9px;
        }
    

    but this does:

        .navbar .pull-right .dropdown-menu:before {
          left: auto;
          right: 9px;
        }
    

    3) I couldn’t debug correctly until I removed the -yui-compress option of the less compiler 😉

    Thanks for everything!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a bit of code from Twitter Bootstrap .navbar .nav.pull-right .dropdown-menu, .navbar .nav
I have problem getting the dropdown menu to work using Twitter's Bootstrap. Here's my
I'm trying to use Twitter Bootstrap's dropdown menu in its top nav bar. You
I have a dropdown menu in my layout/applications.html.erb done with twitter bootstrap <li class=divider-vertical></li>
My dropdown menu in Bootstrap doesnt appear to be working - can anyone alert
I'm just trying out the example in Bootstrap documentation, but it doesn't seem to
The bootstrap-responsive.css file does a wonderful job of turning the navbar into a dropdown
I have a bootstrap dropdown menu in my application that is working great, except
Trying to use Twitter Bootstrap's (2.0) Dropdown menu. But somewhy it adds additional empty
I am using the Bootstrap CSS framework that has this: .dropdown-menu { left: 0;

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.