pleni Posted February 2 Share Posted February 2 Hi there, I've found other threads like this but unsure at which one is the solution and don't want to risk now that the site is live. This is a bilingual site (two separate squarespace sites). We originally had it on 7.0 and used the Cover page feature as the landing page to choose between English and Spanish. We would like to have a cover page again but the option is no longer available. The workaround seems to be to set the logo to go to our homepage (which we don't want on the main navigation) and to set the hompage on the english site as the cover page. Then, we can change the logo on desktop and mobile to link to the homepage that we want. How can I achieve this? I see it's been done with CSS but I saw different issues with codes. Thank you! Link to comment
paul2009 Posted February 3 Share Posted February 3 11 hours ago, pleni said: This is a bilingual site (two separate squarespace sites). We originally had it on 7.0 and used the Cover page feature as the landing page to choose between English and Spanish. We would like to have a cover page again but the option is no longer available. I don't recommend using a landing page, as a very small percentage of your visitors will see it. They are far more likely to land directly on another page within your site, for example from search engine results or a link on another site. A better alternative is to clearly offer add language choices in the header so they appear on every page. There are a number of ways to do this but we'd need to see your site to offer more specific advice 🙂 Did this help? Please give feedback by clicking an icon below ⬇️ About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
pleni Posted February 3 Author Share Posted February 3 (edited) 7 hours ago, paul2009 said: I don't recommend using a landing page, as a very small percentage of your visitors will see it. They are far more likely to land directly on another page within your site, for example from search engine results or a link on another site. A better alternative is to clearly offer add language choices in the header so they appear on every page. There are a number of ways to do this but we'd need to see your site to offer more specific advice 🙂 Did this help? Please give feedback by clicking an icon below ⬇️ The site is https://www.plenitudpr.org/ I thought it was linked. I apologize. Edited February 3 by pleni Link to comment
tuanphan Posted February 8 Share Posted February 8 On 2/4/2023 at 1:10 AM, pleni said: The site is https://www.plenitudpr.org/ I thought it was linked. I apologize. Hi, You want to add link to this logo? 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
pleni Posted February 10 Author Share Posted February 10 Hi, no I want to add the link to this logo on desktop and mobile: Link to comment
tuanphan Posted February 11 Share Posted February 11 On 2/10/2023 at 9:37 AM, pleni said: Hi, no I want to add the link to this logo on desktop and mobile: Add to Settings > Advanced > Code Injection > Footer <script> document.querySelector('.header-title-logo a').setAttribute('href', '/'); </script> 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
Civic Posted May 16 Share Posted May 16 (edited) Hello @tuanphan this code isn working on mobile version so I made this adjustment to the code and it worked for me. <script> document.querySelector('.header-title-logo a').setAttribute('link'); $(".header .header-mobile-layout-logo-left-nav-right .header-display-mobile .header-title [href]").attr("href", "link"); </script> Edited May 16 by Civic tuanphan 1 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