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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

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

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.