Reputation: 557
I've created a website via bootstrap. I can go for a facebook page locally by button but when I install code on my server, and when I go to my website and click on this button - it doesn't redirect me to a facebook page.
Below is a snippet of my index.html code:
<a name="contact"></a>
<div class="banner">
<div class="container">
<div class="row">
<div class="col-lg-6">
<h2>We are on Facebook:</h2>
</div>
<div class="col-lg-6">
<ul class="list-inline banner-social-buttons">
<li>
<a href="some FACEBOOK LINK" class="btn btn-default btn-lg"><i class="fa fa-facebook fa-fw"></i> <span class="network-name">Facebook</span></a>
</li>
</ul>
</div>
</div>
</div>
Could somebody help me to resolve this problem?
EDIT:
When I open this button in a new card it works. But when I click by left-button on mouse it doesnt work.
Upvotes: 0
Views: 1247
Reputation: 405
Use target="_top" for the link
<a href="some FACEBOOK LINK" target="_top" class="btn btn-default btn-lg"><i class="fa fa-facebook fa-fw"></i> <span class="network-name">Facebook</span></a>
Upvotes: 2