alishaserre Posted July 29, 2022 Share Posted July 29, 2022 Site URL: https://allviewimaging.squarespace.com/ Hi there, Does anyone know of a code to add social links/icons to the announcement bar in SS 7.1? Or create a bar/section above the header and place the social links there? Attached is a screencapture of where I'd like them to be. My site password is scocreativeclient Thanks in advance! Link to comment
Beyondspace Posted July 30, 2022 Share Posted July 30, 2022 (edited) 16 hours ago, alishaserre said: Site URL: https://allviewimaging.squarespace.com/ Hi there, Does anyone know of a code to add social links/icons to the announcement bar in SS 7.1? Or create a bar/section above the header and place the social links there? Attached is a screencapture of where I'd like them to be. My site password is scocreativeclient Thanks in advance! I think we can add social icons in the footer and use some javascript code to append them to the announcement bar. In addition, it is required to delete the link on announcement setting to disable the link on the entire bar What is your current plan? Can you apply javascript code on your site? Edited July 30, 2022 by bangank36 alishaserre and tuanphan 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
tuanphan Posted July 31, 2022 Share Posted July 31, 2022 If you use a Personal/Basic Plan, I think we can also FontAwesome + CSS to do this. Which social icons you want to add? alishaserre 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
alishaserre Posted August 1, 2022 Author Share Posted August 1, 2022 Oh nice! The site is not on a plan just yet but it will be on the business plan. Link to comment
alishaserre Posted August 1, 2022 Author Share Posted August 1, 2022 That works! They will be Instagram, Facebook and Linkedln Link to comment
tuanphan Posted August 4, 2022 Share Posted August 4, 2022 On 8/2/2022 at 2:40 AM, alishaserre said: That works! They will be Instagram, Facebook and Linkedln If Business Plan, I think @bangank36 solution would be better. You can add Social Block on Footer with 3 icons, then we will give the code to move it to announcement bar. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
JuiceHill Posted February 20, 2023 Share Posted February 20, 2023 Hello! Having a similar challenge right now - did you guys end up solving this issue? Thank you in advance! 🙂 @tuanphan @alishaserre @Beyondspace Link to comment
tuanphan Posted February 25, 2023 Share Posted February 25, 2023 On 2/21/2023 at 6:47 AM, JuiceHill said: Hello! Having a similar challenge right now - did you guys end up solving this issue? Thank you in advance! 🙂 You can add a Social Block to Footer, or Header, then share site url, we can give code to move it to Announcement Bar Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
alexandra_venusinpieces Posted January 12 Share Posted January 12 Hi there, I'm trying to move my footer social icons to the announcement bar too. Since I'm on the Business plan, is the Javascript solution the best one to follow? Site: https://www.venusinpieces.com/ Link to comment
tuanphan Posted January 15 Share Posted January 15 On 1/13/2024 at 6:14 AM, alexandra_venusinpieces said: Hi there, I'm trying to move my footer social icons to the announcement bar too. Since I'm on the Business plan, is the Javascript solution the best one to follow? Site: https://www.venusinpieces.com/ Move it to right of this bar or which position? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
alexandra_venusinpieces Posted January 15 Share Posted January 15 16 hours ago, tuanphan said: Move it to right of this bar or which position? Preferrably on the left, but still in the colored bar area Link to comment
tuanphan Posted January 17 Share Posted January 17 On 1/16/2024 at 1:56 AM, alexandra_venusinpieces said: Preferrably on the left, but still in the colored bar area Add this code to Last Line in Code Injection > Footer <script> $(document).ready(function(){ $('footer.sections .socialaccountlinks-v2-block').insertBefore('#announcement-bar-text-inner-id p'); }); </script> <style> #announcement-bar-text-inner-id p { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); } @media screen and (max-width:767px) { #announcement-bar-text-inner-id p { position: static !important; transform: unset !important; } #announcement-bar-text-inner-id { display: flex; align-items: center; flex-direction: column; justify-content: center; } } </style> alexandra_venusinpieces 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
alexandra_venusinpieces Posted January 17 Share Posted January 17 6 hours ago, tuanphan said: Add this code to Last Line in Code Injection > Footer <script> $(document).ready(function(){ $('footer.sections .socialaccountlinks-v2-block').insertBefore('#announcement-bar-text-inner-id p'); }); </script> <style> #announcement-bar-text-inner-id p { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); } @media screen and (max-width:767px) { #announcement-bar-text-inner-id p { position: static !important; transform: unset !important; } #announcement-bar-text-inner-id { display: flex; align-items: center; flex-direction: column; justify-content: center; } } </style> Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment