Shopify themes, liquid, logos, and UX
Hi,
I am using debut theme. My facebook icon shows at the bottom of my page- when clicked on, it opens in the current tab, thus stopping shop website. I want it to load in a new tab so the website still stays up. Any ideas on how to do this?
Also, is there a way to put a heading next to the social icons, such as "stay connected?"
Please open your this file Asset -> theme.js and add code in last.
var links = document.links;
for (let i = 0, linksLength = links.length ; i < linksLength ; i++) {
if (links[i].hostname !== window.location.hostname) {
links[i].target = '_blank';
links[i].rel = 'noreferrer noopener';
}
}
If helpful then please Like and Accept Solution.
Shopify theme and app developer.
Thanks
User | RANK |
---|---|
151 | |
110 | |
90 | |
53 | |
49 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By