Jump to content

redirecting page with the logo

Recommended Posts

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 (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
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

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
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! 🙂

Link to comment
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

Edited by bangank36

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

Link to comment
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!

Link to comment
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 (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
Just now, kiaha said:

Thank you so much! 

worked super!! 😄

It's good to know that, bro!

Edited by bangank36

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

Link to comment
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!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.