chard
Member-
Content Count
10 -
Joined
-
Last visited
-
creedon reacted to an answer to a question: How to get links to open a new tab ONLY on one page
-
How to get links to open a new tab ONLY on one page
chard replied to chard's question in Coding and Customization
Oh, I see. Yes, it looks like my Firefox's adblock did block the new tab. It works just fine on safari on my phone. Thank you for your help! 🙂- 11 replies
-
- html
- navigation
-
(and 1 more)
Tagged with:
-
How to get links to open a new tab ONLY on one page
chard replied to chard's question in Coding and Customization
Okay I've tried it. It's still doing the same thing, which is weird.- 11 replies
-
- html
- navigation
-
(and 1 more)
Tagged with:
-
How to get links to open a new tab ONLY on one page
chard replied to chard's question in Coding and Customization
I've put both scripts in their respective locations and it doesn't seem to do anything. Clicking on the links will only bring me to the page, but not create a new tab.- 11 replies
-
- html
- navigation
-
(and 1 more)
Tagged with:
-
How to get links to open a new tab ONLY on one page
chard replied to chard's question in Coding and Customization
Bumping this thread, still have not resolved this.- 11 replies
-
- html
- navigation
-
(and 1 more)
Tagged with:
-
Fixing a search bar to the top of the screen when you scroll
chard replied to chard's question in Coding and Customization
The code partially works; the search bar does fix itself to the top of the page. However, it also makes the rest of the stories block stay fixed to the page. I've put a picture down below.- 4 replies
-
- html
- navigation
-
(and 1 more)
Tagged with:
-
How to get links to open a new tab ONLY on one page
chard replied to chard's question in Coding and Customization
Hmm. After a bit of experimenting, it seems that the code makes all of the links in the site header open up in a new tab. I would like to be able for it to only happen for the "Read more" links I have under the blog stories. With that code, and a site header, you should see the behavior replicate itself in the site header.- 11 replies
-
- html
- navigation
-
(and 1 more)
Tagged with:
-
Fixing a search bar to the top of the screen when you scroll
chard replied to chard's question in Coding and Customization
Site URL: https://thebetterbecauseproject.squarespace.com/stories/ Currently we are not using a site-wide password because the website is published and public. Thanks for the help.- 4 replies
-
- html
- navigation
-
(and 1 more)
Tagged with:
-
How to get links to open a new tab ONLY on one page
chard replied to chard's question in Coding and Customization
It's not an issue of whether or not the code is allowing for the tabs to open up in a new tab. It's that with the code, every single link throughout the whole domain opens up into a new tab when we've tested it outside of edit mode. We'd like to know how we can get it only for the particular story page, rather than throughout the whole website. Any idea might be up with it?- 11 replies
-
- html
- navigation
-
(and 1 more)
Tagged with:
-
Fixing a search bar to the top of the screen when you scroll
chard posted a question in Coding and Customization
I've seen several posts on this forum suggesting header injections which can keep the site header on the top of the page as you scroll. However, using the squarespace website builder, I've generated a search bar in the body of a page. Is there a possibility of having that fixed to the top of the page when I scroll? I've attached a picture to show the search bar I am talking about.- 4 replies
-
- html
- navigation
-
(and 1 more)
Tagged with:
-
How to get links to open a new tab ONLY on one page
chard posted a question in Coding and Customization
Site URL: https://thebetterbecauseproject.squarespace.com/stories/ How can I get all links on a single page to open up a new tab? I've tried using this in the "Page Header Code Injection" <base target="_blank"/> But, it makes every link throughout the website to open up. Is there something else I can try with html, so that it would only open up a new tab for the links in a particular page?- 11 replies
-
- html
- navigation
-
(and 1 more)
Tagged with: