Jump to content

kathryn

Circle Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by kathryn

  1. 1 hour ago, kathryn said:

    Hi I wonder if anyone can help. 

    I'm also trying to set up a site so that all external links open in a new tab, but without affecting the site navigation. 

    I've tried the following:

    1.  putting this in the header

    
    <base target="_blank"/>

    Which worked perfectly, except that now all navigation opened in a new tab. 

     

    2. applying this to a block and putting it in the header (in advanced > code injection)

    
    <base #yourBlockId target="_blank"/>

    for example <base #block-yui_3_17_2_1_1605228030617_24171 target="_blank"/>

    but it didn't do anything

     

    3. I have put "target="_blank to the end of all the Source URLs in blog posts. 

    Initially I thought this was working, but it seems to be erratic - one will open in a new tab, another won't. 

     

    Does anyone have any idea what I'm doing wrong? You can see the site at shopportunity.ie

    Any advice would be hugely appreciated!

    I also tried targeting the blocks by putting the code into the header on an individual page. 

     

    <base #block-f9df908530b3c6b670da target="_blank"/>

    <base #block-925ca918fe42cd9c4071 target="_blank"/>

     

    into the header of https://shopportunity.ie/irishonlineaccessoriesstores

     

    but it seems to also work erratically - sometimes affecting the navigation, sometimes not and only working intermittently.  I'm totally confused!!

  2. Hi I wonder if anyone can help. 

    I'm also trying to set up a site so that all external links open in a new tab, but without affecting the site navigation. 

    I've tried the following:

    1.  putting this in the header

    <base target="_blank"/>

    Which worked perfectly, except that now all navigation opened in a new tab. 

     

    2. applying this to a block and putting it in the header (in advanced > code injection)

    <base #yourBlockId target="_blank"/>

    for example <base #block-yui_3_17_2_1_1605228030617_24171 target="_blank"/>

    but it didn't do anything

     

    3. I have put "target="_blank to the end of all the Source URLs in blog posts. 

    Initially I thought this was working, but it seems to be erratic - one will open in a new tab, another won't. 

     

    Does anyone have any idea what I'm doing wrong? You can see the site at shopportunity.ie

    Any advice would be hugely appreciated!

  3. I've got a lot of links out of the site so I thought it would be a good idea to make them all no follow to avoid the site getting penalised, so this looks like exactly what I need. 

    I've put it into the footer, however I'm not sure that it's working - when I hover over the links I'm not seeing nofollow. Is that how its supposed to be or have I set it up wrong. 

    You can see the site here: shopportunity.ie

    You can see an example of a link out on this page on the button that says VISIT THE GUTTER BOOKSHOP

    https://shopportunity.ie/irish-online-store-directory/thegutterbookshop

    Any advice would be hugely appreciated!

     

×
×
  • 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.