jquery - Overriding bootstrap data-toggle="dropdown" width -


boostrap data-toggle="dropdown" have natively width of 991px. need fix maximum 767px.

my code is:

 <a href="/samohyl/peugeot" class="dropdown-toggle" data-toggle="dropdown">peugeot</a> 

try below option.

<style type="text/css"> .cls .dropdown-toggle{ width:yourwidth px; } </style> <div class="cls"> <a href="/samohyl/peugeot" class="dropdown-toggle" data-toggle="dropdown">peugeot</a> </div> 

this way, point "cls" class sections , not others

refer below link

setting width of dropdown list in bootstrap 3.0


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -