crc2pdx Posted May 9, 2016 Share Posted May 9, 2016 I would like to have social links appear in the header of a template that only offers footer icons. Link to comment
crc2pdx Posted May 9, 2016 Author Share Posted May 9, 2016 Step 1. Select an icon and find the icon code from here: http://fortawesome.github.io/Font-Awesome/icons/ Step 2. Add a Link to your navigation and make the Link Title the icon code. As an EXAMPLE, paste in <i class="fa-facebook"></i> as your Link Title for that Facebook icon. Then, add your social profile URL to the 'External' tab of the link settings. Step 3. Add this exact code to your site's Home menu > Settings > Advanced > Code Injection > Header and Footer fields. HEADER: <!----Font.awesome---> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> FOOTER: <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> Step 4. Your new social icon should appear via the link in your site's navigation menu. Link to comment
zerocool Posted September 22, 2017 Share Posted September 22, 2017 Great solve here my man. To all youz: His/her text for social icon is off. Use this on your first text in the link section: Also. If you want the social links to be a different color, add style=" " into the link section. It would look like this: \ thanks again. Link to comment
markdekoning Posted January 2, 2018 Share Posted January 2, 2018 This is great, is it possible to adjust the size of the icon? Mine has appeared rather tiny... Link to comment
vgough Posted January 29, 2018 Share Posted January 29, 2018 @markdekoning To Make Larger Icons To increase icon sizes relative to their container, use the fa-lg (33% increase), fa-2x, fa-3x, fa-4x, or fa-5x classes. (You will make this change in the Link Title) fa-lg fa-2x fa-3x fa-4x fa-5x If your icons are getting chopped off on top and bottom, make sure you have sufficient line-height. Link to comment
Guest Posted April 12, 2018 Share Posted April 12, 2018 Hi guys, I was having problems with this, but then found that replacing the header code (found here https://fontawesome.com/get-started) works well: <script defer src="https://use.fontawesome.com/releases/v5.0.10/js/all.js" integrity="sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+" crossorigin="anonymous"></script> You will also need to remove the footer code mentioned above. Link to comment
emalu Posted February 13, 2020 Share Posted February 13, 2020 On 5/9/2016 at 3:15 PM, crc2pdx said: Hi, For some reason this isn't working for me. I get a generic scrambled unknown icon in place of the social icons. I have used your exact HTML and header/footer code injections and this is what I see. Help? TIA! Link to comment
tuanphan Posted February 22, 2020 Share Posted February 22, 2020 On 2/14/2020 at 1:43 AM, emalu said: Hi, For some reason this isn't working for me. I get a generic scrambled unknown icon in place of the social icons. I have used your exact HTML and header/footer code injections and this is what I see. Help? TIA! Try this guide: https://forum.squarespace.com/topic/157427-share-add-social-icons-to-navigation/ Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.