Guest Posted March 6, 2020 Share Posted March 6, 2020 Site URL: https://firstsignals.squarespace.com/ Hey, I set up a summary feed that collects my blog posts in one carousel. Most blog posts are from my own Squarespace site but there are a few ones that directly link to the Source URL (and this is important!) - however, I don't want my visitors to exit my website for a third party's, so I'd like to have the link be opened in a new tab. How would that be possible? This is what I mean, but in a new tab. Thanks in advance and greetings Bastian Link to comment
tuanphan Posted March 6, 2020 Share Posted March 6, 2020 You need to use JavaScript in this case. This needs Business Plan or higher. Can you share link to carousel in your site? Dacied 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
Guest Posted March 9, 2020 Share Posted March 9, 2020 On 3/6/2020 at 5:06 PM, tuanphan said: You need to use JavaScript in this case. This needs Business Plan or higher. Can you share link to carousel in your site? We currently have the business plan, so that's no problem. The carousel is on the homepage as well as under this direct slug: https://firstsignals.squarespace.com/feed I hope, this is what you meant with your question. Greetings, Bastian Link to comment
tuanphan Posted March 12, 2020 Share Posted March 12, 2020 On 3/9/2020 at 6:24 PM, firstsignals said: We currently have the business plan, so that's no problem. The carousel is on the homepage as well as under this direct slug: https://firstsignals.squarespace.com/feed I hope, this is what you meant with your question. Greetings, Bastian Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $(document).ready(function() { $('a.summary-thumbnail-container.sqs-gallery-image-container').attr('target','_blank'); }); </script> ADC1570048538 and BeaRue 1 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
vnx Posted September 7, 2020 Share Posted September 7, 2020 I'm looking to do the same thing but with a List style summary block. Can you help? Thanks Link to comment
IXStudio Posted September 8, 2020 Share Posted September 8, 2020 Hi @vnx, Please share your website URL. Best, Leopold Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
mbockmaster Posted September 23, 2020 Share Posted September 23, 2020 I'm piggybacking on this question as well, hoping to add links to the titles of blog posts that are in summary blocks. My site is https://olive-dog-9fgf.squarespace.com/blog and the password is bockmaster Thank you! Link to comment
IXStudio Posted September 23, 2020 Share Posted September 23, 2020 9 hours ago, mbockmaster said: I'm piggybacking on this question as well, hoping to add links to the titles of blog posts that are in summary blocks. My site is https://olive-dog-9fgf.squarespace.com/blog and the password is bockmaster Thank you! Hi Use this code in Design -> Custom CSS .summary-content .summary-title-link { pointer-events: all !important; } Please use the like button if it helps you! Best, Leopold mbockmaster 1 Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
Guest Posted October 7, 2020 Share Posted October 7, 2020 I injected <script> tags into my squarespace template making the <main> display:none. Now I cannot edit that section through squarespace because it is gone. Recommendations how to get it back without starting from scratch? $( "#page" ).css( "display", "none" ); was the code I injected into the HTML. Thank you in advance. moving house Link to comment
tuanphan Posted October 7, 2020 Share Posted October 7, 2020 1 hour ago, luchy said: I injected <script> tags into my squarespace template making the <main> display:none. Now I cannot edit that section through squarespace because it is gone. Recommendations how to get it back without starting from scratch? $( "#page" ).css( "display", "none" ); was the code I injected into the HTML. Thank you in advance. moving house try edit #page to body:not(.sqs-edit-mode) #page 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
sglova Posted January 11, 2022 Share Posted January 11, 2022 When you add the link in post settings (the external link that you want the title to link to), simply add this to the end: " target="_blank Important: this goes at the END of the link make sure there is NOT a space between the end of your link and the first quotation mark do NOT add an end quotation mark after blank Example attached. tuanphan 1 Link to comment
mbockmaster Posted May 4, 2023 Share Posted May 4, 2023 On 1/11/2022 at 9:34 AM, sglova said: When you add the link in post settings (the external link that you want the title to link to), simply add this to the end: " target="_blank Important: this goes at the END of the link make sure there is NOT a space between the end of your link and the first quotation mark do NOT add an end quotation mark after blank Example attached. hello @sglova this is exactly what I've been searching everywhere for, although it's not working for me. I've made sure that it's copied exactly as you've instructed. Any ideas? I currently have it applied to the first 'card' under passes.https://andasanas.com/book-buy Link to comment
tuanphan Posted May 6, 2023 Share Posted May 6, 2023 On 5/5/2023 at 3:15 AM, mbockmaster said: hello @sglova this is exactly what I've been searching everywhere for, although it's not working for me. I've made sure that it's copied exactly as you've instructed. Any ideas? I currently have it applied to the first 'card' under passes.https://andasanas.com/book-buy What is password? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment