Jump to content

Action on website logo click

Go to solution Solved by Web_Solutions,

Recommended Posts

Hi,

Where can I set the action that is triggered when I click on my logo website in the header? On the template I used, it’s directly connected to the home page. However, my problem is that I have two home pages, one for english and the other one for spanish, and I’d like to go to one or the other depending on the language that’s selected. 

How should I go about doing this?

Thanks.

 

 

Link to comment
10 minutes ago, GuiliuG said:

Hi,

Where can I set the action that is triggered when I click on my logo website in the header? On the template I used, it’s directly connected to the home page. However, my problem is that I have two home pages, one for english and the other one for spanish, and I’d like to go to one or the other depending on the language that’s selected. 

How should I go about doing this?

Thanks.

 

 

Can you share your website URL?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
  • Solution
1 hour ago, GuiliuG said:

Add these code for all Spanish page's setting at advance section. See the attached image for better understand

<script src="https://code.jquery.com/jquery-3.6.3.min.js"></script>
<script>
  $(function(){
    $('.header-title a').attr("href","/home-es");
  });
</script>

 

Screenshot_30.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.