Jump to content

How do you redirect the logo URL for the Five template?

Recommended Posts

Posted

Site URL: https://www.elliotoracle.com

Hi everyone!

How do you redirect the logo URL for the Five template?

I tried several solutions posted on the forums, but none of them seem to work specifically with the Five template. Below is an example of one I tried (replacing URLREDIRECTHERE with the appropriate redirect link).

The website in question is elliotoracle.com, if you wouldn't mind taking a look.

Thanks!

 

Quote
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>

<script>$(document).ready(function () {
          $(".logo-image [href]").attr("href", "URLREDIRECTHERE");
        });
</script>

 

  • Replies 6
  • Views 542
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Can you share the exact code that you tried, and where you installed it? It looks like you have a non-standard setup which might explain why that code isn't working.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
10 hours ago, Hekate said:

How do you redirect the logo URL for the Five template?

I tried several solutions posted on the forums, but none of them seem to work specifically with the Five template.

As you're using the Five template add the following to the Code Injection Footer (instead of the code you quoted above):

<script>
  window.Squarespace.onInitialize(Y, function(){
    document.querySelector("#banner-wrapper a").href ="/xyz";
  });
</script>

where /xyz is the link you wish to use.

 

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
On 10/5/2022 at 9:23 AM, paul2009 said:

As you're using the Five template add the following to the Code Injection Footer (instead of the code you quoted above):

<script>
  window.Squarespace.onInitialize(Y, function(){
    document.querySelector("#banner-wrapper a").href ="/xyz";
  });
</script>

where /xyz is the link you wish to use.

 

I appreciate your help; unfortunately, that didn't seem to work. It continues to send users to the default home page. Here is the code that I put into the Footer section as you suggested (and I'll attach a screenshot as well):

 

 

1603516072_Screenshot2022-10-06at11_28_34AM.png.fdfb1081f08d80382d787683904017b5.png

 

Quote

<script>
  window.Squarespace.onInitialize(Y, function(){
    document.querySelector("#banner-wrapper a").href ="https://tarotpalooza.com/2022/elliot/#ticketDiv";
  });
</script>

 

Posted
On 10/5/2022 at 5:09 AM, Ziggy said:

Can you share the exact code that you tried, and where you installed it? It looks like you have a non-standard setup which might explain why that code isn't working.

Thank you; the exact code is in the post right about this one. I appreciate you taking a look, too!

I am putting it into Settings > Advanced > Code Injection > Footer

Posted
2 hours ago, Hekate said:

I appreciate your help; unfortunately, that didn't seem to work.

Please check the code on your site. You have a "/" character before the https which shouldn't be there.

 

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
17 hours ago, paul2009 said:

Please check the code on your site. You have a "/" character before the https which shouldn't be there.

 

Sorry. I tried it without that, and it stil didn’t work . I tried both ways to see if that’s what was causing the issue. 

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.