💗Social Links
Last updated
Last updated
The Facebook and Twitter handles can be updated from the Ghost settings.
Setting --> General --> Social accounts
To update other accounts, you need to edit the theme code.
Open the theme code in your favorite editor (like Visual Studio Code, Sublime Text)
Open the social-links.hbs
partial file
Look for the social media handle you want to edit. E.g. Instagram, as shown below
Edit the href="#"
attribute for the tag. Replace #
and insert your Instagram URL (e.g. https://www.instagram.com/cristiano/
).
The updated file will look something like the one below.
This theme has already provided icons for social media:
YouTube
If you want to add any other social media link in footer, then you need to get the SVG code for that icon (preferably in 24x24 size)
Then you need to copy/paste the highlighted code and edit the title and href attribute as explained earlier.
Apart from that, you also need to add the path for the SVG code (#3 in below image).