gryzek
gryzek

Reputation: 557

HTML button doesn't redirect to a facebook page

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

Answers (1)

Sagar Bhosale
Sagar Bhosale

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

Related Questions