Facebook and Twitter - Open links in new window

Follow

Comments

1 comment

  • Avatar
    Zetya Support

    Hi Lee,

    Open theme.liquid (Theme > Template Editor in Admin) and look for <a href="{{ settings.social_facebook }}"  (near the bottom) and add target="_blank" to it.

    Final result should look like this:

    <a href="{{ settings.social\_facebook }}" target="\_blank" title="Join {{ shop.name }} on Facebook">{{ 'facebook_32.png' | asset_url | img_tag:'Join us on Facebook' }}</a>

    Do the same for the twitter link.

    Thanks, Gavin.

Please sign in to leave a comment.