kiaha Posted November 12, 2021 Posted November 12, 2021 Site URL: https://www.dotdot-shop.com/shop Hi, I made a enter page of the website and now it is set as the 'homepage' of the website, meaning I need to make the logo in the header to direct to a specific page, /shop tried to do some search and apply codes, but nothing worked so would love to get helped! Thank you very much!
Beyondspace Posted November 12, 2021 Posted November 12, 2021 1 hour ago, kiaha said: Site URL: https://www.dotdot-shop.com/shop Hi, I made a enter page of the website and now it is set as the 'homepage' of the website, meaning I need to make the logo in the header to direct to a specific page, /shop tried to do some search and apply codes, but nothing worked so would love to get helped! Thank you very much! What is the site password BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
kiaha Posted November 13, 2021 Author Posted November 13, 2021 22 hours ago, bangank36 said: What is the site password Oh sorry it is : dotdot-shop Thank you!
paul2009 Posted November 13, 2021 Posted November 13, 2021 On 11/12/2021 at 10:11 AM, kiaha said: I made a enter page of the website and now it is set as the 'homepage' of the website, meaning I need to make the logo in the header to direct to a specific page, /shop To be honest, I recommend that you remove the current homepage as serves no useful purpose for the user. It will slow down access to the site and, as it contains no indexable content, it will negatively affect your site's discoverability. Screenshot of the current "logo only" homepage: Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
kiaha Posted November 13, 2021 Author Posted November 13, 2021 39 minutes ago, paul2009 said: To be honest, I recommend that you remove the current homepage as serves no useful purpose for the user. It will slow down access to the site and, as it contains no indexable content, it will negatively affect your site's discoverability. Screenshot of the current "logo only" homepage: Thanks for the comment, but would like to keep it as is, for we think it is not just throwing the shop products right at you 😉 so if anyone can help with the code editing, that would be very nice! Thank you all! 🙂
Beyondspace Posted November 13, 2021 Posted November 13, 2021 On 11/13/2021 at 7:06 PM, kiaha said: Thanks for the comment, but would like to keep it as is, for we think it is not just throwing the shop products right at you 😉 so if anyone can help with the code editing, that would be very nice! Thank you all! 🙂 Hi, You can try adding to Home > Settings > Advanced > Code Injection, choose the footer <script> // Change link direction of logo to shop in Desktop & Mobile (function() { document.querySelectorAll('.header-title-logo a').forEach(a => { a.setAttribute('href','/shop'); }) })(); </script> Let me know how it works on your site Press 👍 or mark this answer as solution to help another one too BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
kiaha Posted November 13, 2021 Author Posted November 13, 2021 3 hours ago, bangank36 said: Hi, You can try adding to Home > Settings > Advanced > Code Injection, choose the footer <script> // Change link direction in logo to shop (function() { document.addEventListener('DOMContentLoaded',()=>{ document.querySelector('.header-title-logo a').setAttribute('href','/shop'); }); })(); </script> Let me know how it works on your site Press 👍 or mark this answer as solution to help another one too This works perfectly! Thank you so much 😄
kiaha Posted November 17, 2021 Author Posted November 17, 2021 On 11/13/2021 at 6:44 PM, bangank36 said: Hi, You can try adding to Home > Settings > Advanced > Code Injection, choose the footer <script> // Change link direction in logo to shop (function() { document.addEventListener('DOMContentLoaded',()=>{ document.querySelector('.header-title-logo a').setAttribute('href','/shop'); }); })(); </script> Let me know how it works on your site Press 👍 or mark this answer as solution to help another one too Hello again! Can you actually help me with the same thing with mobile version? Thank you very much!
Beyondspace Posted November 17, 2021 Posted November 17, 2021 19 minutes ago, kiaha said: Hello again! Can you actually help me with the same thing with mobile version? Thank you very much! Hi @kiaha, I've just updated my previous codes for setting in both desktop and Mobile. Let me know if it works properly on your site Hope that it can help you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
kiaha Posted November 17, 2021 Author Posted November 17, 2021 2 minutes ago, bangank36 said: Hi @kiaha, I've just updated my previous codes for setting in both desktop and Mobile. Let me know if it works properly on your site Hope that it can help you Thank you so much! worked super!! 😄
Beyondspace Posted November 17, 2021 Posted November 17, 2021 Just now, kiaha said: Thank you so much! worked super!! 😄 It's good to know that, bro! BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
kiaha Posted November 17, 2021 Author Posted November 17, 2021 28 minutes ago, bangank36 said: It's good to know that, bro! Actually, May I ask for one another question? The shopping cart margin seems messed up somehow on the mobile version... I would like have it lined up with the top header margin. Thank you!!
tuanphan Posted November 20, 2021 Posted November 20, 2021 On 11/17/2021 at 5:56 PM, kiaha said: Actually, May I ask for one another question? The shopping cart margin seems messed up somehow on the mobile version... I would like have it lined up with the top header margin. Thank you!! It looks fine to me. Did you solve problem? 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.