Jump to content

Bilingual website: Changing logo link on certain pages

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
  • Views 696
  • Created
  • Last Reply

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

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