Hello!
I was wondering if there was a way with custom HTML to add in a TikTok icon to the follow us section in the footer of my site next to the other social icons so that it matches the other social icons colour and size wise.
I have included an image of that section and the icons.
Thanks
Rhys
Hello @lkidgell ,
I would like to give you some recommendations to support you:
- Go to Online Store → Theme → Edit code
- Open your theme.liquid theme file
- Paste the below code before
-
Open your footer.liquid theme file
-
Paste the below code after {%- endfor -%}
- [
Tiktok
](https://www.tiktok.com/en/)
*Let’s add your Tiktok URL to href attribute
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
1 Like
Hi @GemPages
Thank you for your assistance!
I have successfully been able to get the TikTok Icon in the footer with the code you provided, but the icon is not exactly in line with the other icons. is there a way to make it in line with the other icons (I have included an image of how it currently looks)
Thank you for your assistance so far
Hello @lkidgell ,
Actually, you can paste your page URL here so that I can detect further and provide you with an even more detailed answer.
Best regards,
GemPages Support Team
The theme.liquid code was fine. but for the footer.liquid file:
In the style attribute of the element, I added margin-top: 2px; to lower the icon by 2 pixels. You can adjust the value as needed to achieve the desired vertical alignment. Feel free to experiment with different pixel values until you find the right adjustment. A pixel width and height of 20px worked for the image and sized it according to the others. Hope this helps people as it stumped me for a few hours before I figured it out. Good luck.
Here was my modifed code set:
Tiktok