Sign in

Adding Spotify to Social Icons

  • This topic has 3 replies, 2 voices, and was last updated 2 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #495

    I would like to add a Spotify icon to my footer on my <strong data-v-b79b84ac=”” data-v-b539cd42=””>Simple (v. theme. How do I go about this? Can I manually add it to the theme’s source code? I want it to have the same style properties in the css as the other icons – seeing as I have a music blog it would be really nice to be able to link people to my Spotify account. Thanks!


    Hi indieamy,

    All you have to do is edit the footer.hbs file (Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨simple⁩ ▸ ⁨partials⁩) by adding the following code:

    <a href=”URL to Spotify” aria-label=”Spotify”>
    your icon here

    To preserve the custom code changed from being overwritten the next time your theme is updated, please make sure you have created override files, which are essentially copies of the existing theme files and are stored separately →

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!


    Where in the code do I add it? Is there a particular place or line? When I try to add Spotify it can’t find the image anywhere and I would assume the styling isn’t the same as the other icons in the theme. How do I fix this? And how do I make the links point to a new tab instead of opening in the same tab? Thanks so much!


    Any update around this?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.