Jump to content

"Open in New Window" Not Working for Link

Recommended Posts

Hi all, I could use some advice on fixing a link on my website (the link for Broadway World). I'm trying to make it open in a new tab instead of diverting from my website.

When I go into the link editor, I can turn on the option to make it open in a new window, but that setting never saves. It always defaults back to opening in the same tab.

Has anyone else encountered this problem/figured out a solution?


Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
On 2/9/2023 at 9:01 AM, aeb556 said:

If option doesn't work, you can add this to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
$(document).ready(function() { 
		$('.html-block [href*="broadway"]').attr('target','_blank');


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.