Jump to content

Bilingual website: Changing logo link on certain pages

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.cuisinesteam.ca/

Hello!

I have a bilingual website and I’m trying to change the link on my logo icon on all pages in French. I’ve tried custom CSS I’ve found on this forum, but nothing works with my template (Rally). Note: I want the logo link to stay the same on all pages in English. Does anyone know of a page header code injection I could use?

Thank you in advance for your help!

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Add to French Pages Settings > Advanced > Header

Replace beaverhero with your french homepage

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
    $(".Header-branding, .Mobile-bar-branding").attr("href", "https://beaverhero.com");
});
</script>

 

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
  • 4 weeks later...

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.