Jump to content

Forte template - Site logo with different links

Recommended Posts

  • Replies 1
  • Views 581
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Couple ways to go about this. I suggest you use Javascript for this. 

1. Detect what navigation items is visible. English or Iceland

2. If Iceland navigation items are visible (not css hidden) then change the logo link

Here's an example based off your site. Again, there's a few ways to go about this.

if ( $('.page-collection:even').is(":visible") ) { 
  $('.logo a').attr('href', '/iceland');
}

 

 

https://www.nickscola.com - Squarespace developer since 2007 now a full service creative agency in Chicago that focuses on creating websites with a high standard for aesthetic excellence.

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.