Jump to content

ProjetTango

Member
  • Posts

    1
  • Joined

  • Last visited

ProjetTango's Achievements

Level 1

Level 1 (1/20)

0

Reputation

  1. Hi @tuanphan you are the resident genius on this subject of changing 'back to x' hyperlinks so I'm wondering if you could help me... I used the above script that you gave Tony and changed it for our link text and URL; the link is going to the right place now but the displayed text in the link isn't changing - what am I doing wrong? I want to change the blue "back to bailongo 2023 products" at the top to just "Back". This is what I put in the footer: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('div#productNav a').attr('href','https://www.bailongomontreal.com/test-shop'); $("div#productNav a").html(function() { return $(this).html().replace("back to bailongo 2023 products", "Back"); }); }); </script> Thank you in advance.
×
×
  • 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.