Jump to content

redirecting page with the logo

Recommended Posts

Posted

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!

 

  • Replies 12
  • Views 1.1k
  • Created
  • Last Reply
Posted
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

Posted
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:356195887_Screenshot2021-11-13at11_22_00.thumb.png.826ea4649fd09913717577a45d8b09a4.png

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.

Posted
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:356195887_Screenshot2021-11-13at11_22_00.thumb.png.826ea4649fd09913717577a45d8b09a4.png

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! 🙂

Posted
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

Posted
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 😄 

Posted
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!

Posted
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

Posted
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!! 😄

Posted
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!!

Screen Shot 2021-11-17 at 12.46.45 PM.png

Posted
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!!

Screen Shot 2021-11-17 at 12.46.45 PM.png

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!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.