Hello, I need assistance adding social media icons (Facebook, Instagram, & TikTok) next to the cart in the header, with visibility on both desktop and mobile versions. Currently, I’ve added them to the announcement bar, but they disappear on mobile.
To make the social media icons appear next to the cart in the header on both desktop and mobile, you can follow these steps:
Online Store
Themes
Edit Code
Find the file for your header, typically named header.liquid (or something similar, depending on your theme).
Add Social Media Icons to the Header:
-Inside the header file, look for the section of code related to the cart icon. It’s often wrapped in a “div” with classes related to header__icons, header__actions, or header__cart.
-Insert the social media icon code (using Font Awesome icons or images linked to your social media profiles) just before or after the cart icon code
Sample Code for Social Media Icons:
-You can add this code where you want the icons to appear in the header:
This should ensure the social media icons are consistently visible next to the cart on both desktop and mobile views. Let me know if you encounter any issues!
If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!
I hope you are well. You can follow our instructions below:
Step 1: Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
Step 2: Search for “header.liquid” file
Step 3: Add the following code at the bottom of the file above tag. Screenshot for your reference: https://prnt.sc/lOb9Ih2EudXJ
In my opinion, it should be visible on desktop, and on mobile it should be added in the menu drawer because mobile doesn’t have enough width to display all.