Jump to content

Change logo URL: Tremont

Go to solution Solved by dimsk,

Recommended Posts

Hello, what's the code injection required to alter the logo linking URL in tremont?

I'm aiming to have a splash page as the website landing page, but within all the other pages use the logo to return to a different page (the real home page).

Thanks!

Jack

Edited by jackrbenson
Initial Revision
Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Hey Jack,

For this with jQuery you can update the /home/ to the URL slug you want it to lead to. Add this code into the footer Code Injection in Settings > Advanced > Code Injection


<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$('a[href="/"]').attr("href", "/home/");
</script>

Hope that helps!

Link to comment
  • 2 years later...
10 hours ago, ReneeBreathe said:

Can anybody help me figure this out for Ver. 7.1?  I can't figure it out.....

replace 

a[href="/"]

with

Quote

a#site-title

 

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.