css - Issue regrading navbar dropdown in bootstrap -
i facing problem regarding dropdown menu in website navbar. using bootstrap v 3.3.6
on hover menu name (here features), expecting should button beside (the request demo button). right side edge becomes sharper on hover. surfed lot on net did not find needful workaround yet.
here code snippet
<nav class="navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="navbar-header"><%= image_tag("logo.png", alt: "industryprime") %></div> <ul class="navigation pull-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">features <span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="#" class="scroll-link" data-id="paperless_purchase_section">paperless purchase</a></li> <li><a href="#" class="scroll-link" data-id="efficient_stores_section">efficient stores</a></li> <li><a href="#" class="scroll-link" data-id="peace_of_mind_section">peace of mind</a></li> </ul> </li> <li class="req_demo"> <%= link_to "request demo", user_request_demo_page_path , :onclick => "demo_clicked()" ,:onmouseover => "start_count()" , :onmouseout => "stop_count()" %> </li> <li id="login button section"><%= link_to 'login', {controller: 'sessions', action: 'new'} %></li> <li><a href="#" class="scroll-link" data-id="contact">contact us</a></li> <li><%= image_tag("contact_us.png") %>+91 98302-15353</li> </ul> </div> </div> </nav>
see,the right side of dropdown named "features" sharp left side perfect. want right side should left side. , 1 thing blackish effect because of hovering.
if include following css rules features box on right shall receive padding,
<style> .dropdown { padding-right: 10px; } </style>
though have suspicion using kind of templating language here you've not mentioned.
Comments
Post a Comment