Support » Themes and Templates » [Resolved] social icons
2 years, 5 months ago
Can the Facebook social link be changed to open in a new tab? The other social links already open in another tab; I am only finding this for Facebook. Same for the Callout Section Link on the front page.
Thanks in advance!
You should add the attribute in the anchor tag target="_blank"
<a href="https://www.facebook.com/" target="_blank">Visit Facebook </a>
You can simply replace the link with your Facebook link.
Do not edit the theme itself. First create a child theme for your changes.
2 years, 4 months ago
Thanks for your help. Can you tell me where this code would go?
If you could let us know your website url, I’d love to be more specific 🙂
oen footer.php and find out this link
<a href="<?php echo of_get_option('fbsoc_text');?>" title="facebook"></a>
and replace with this
<a target="_blank" href="<?php echo of_get_option('fbsoc_text');?>" title="facebook"></a>
Thanks. As always, great support!