-1
How can I put more than one link on the same button? Kind of a dropdown. Example: https://passoapasso.org.br/transparencia/
ps: I use Wordpress.
-1
How can I put more than one link on the same button? Kind of a dropdown. Example: https://passoapasso.org.br/transparencia/
ps: I use Wordpress.
1
The site you quoted despite being a Wordpress it uses Bootstrap 3, and this is a simple component of framework, flame button dropdowns
and you can see the documentation here https://getbootstrap.com/docs/3.3/components/#btn-dropdowns-single
Follow an example using this js component of BS3
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- Single button -->
<div class="btn-group">
<button type="button" class="btn btn-primary">
Sem drop
</button>
</div>
<!-- Single button -->
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
Com DropDown <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
</ul>
</div>
Browser other questions tagged wordpress twitter-bootstrap bootstrap-3 button link
You are not signed in. Login or sign up in order to post.
You sent the question to the site in English... Rewrite the question in our language.
– wensiso
Well I looked at the site and from the source I could see that it was done in bootstrap. I think the first example is very simple, see if it helps you. https://getbootstrap.com/docs/4.0/components/dropdowns/? Hugs.
– Mild