Jump to content

snorkelcookislands

Member
  • Posts

    14
  • Joined

  • Last visited

Everything posted by snorkelcookislands

  1. @lahero Hey, I followed your instructions but it still didn't work. I changed the code to: <script> (function() {window.addEventListener("load", function () { var tours = document.querySelector('[href="/folder"]'); tours.addEventListener("click", function () { window.location = "https://snorkelcookislands.com/book-a-tour"; }); })} )(); </script> What am I doing wrong??
  2. @lahero Hey thanks for that, but it didn't work... This is what I injected into the Code Injection Footer <script> (function() {window.addEventListener("load", function () { var tours = document.querySelector('[href="/book-a-tour"]'); tours.addEventListener("click", function () { window.location = "https://snorkelcookislands.com/book-a-tour"; }); })} )(); </script> Have I written something wrong here? Because the parent header "Tours" just links to the first link "Reef Snorkelling" @RyanDejaegher Maybe you can help? 🙃
  3. Code totally works for me! Is there a way to create a hover underline effect for navigation links in the header menu?
  4. Thank you @RyanDejaegher How can input the page I would like the header to be linked to? I would like it to be linked to this page https://www.snorkelcookislands.com/book-a-tour-bokun-products
  5. Please help @tuanphanhttps://snorkelcookislands.com I would really like to link the "tours" link to another page, can you please help with this?
×
×
  • 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.