ShinaShayesteh
Member-
Posts
9 -
Joined
-
Last visited
ShinaShayesteh's Achievements
-
tuanphan reacted to a post in a topic: Make spyglass icon in search bar link to a different website?
-
creedon reacted to a post in a topic: Make spyglass icon in search bar link to a different website?
-
Tried it, and it didn't work, unfortunately! It wouldn't open the new link at all when it was "_self", so I changed it back to "_blank".
-
Update! I've gotten it to sort of work by making these changes to the code: <script> $(document).ready(function() { $(".tweak-header-search-style-icon-only .Header-search").click(function() { window.open("https://actionlab.strongtowns.org/hc/en-us", "_blank"); }); }); </script> The spyglass does open the "Action Lab" website now, but in a new tab... Meanwhile, on the old tab, the user gets directed to a blank page (our old search page, now deactivated). Any ideas on how I can get the link to open in the same tab, instead of opening a new one?
-
It doesn't seem to be working, unfortunately? It still goes to the /search page, which we've disabled.
-
Yes, sorry about that; we had disabled the icon temporarily over the holiday weekend. It should be visible now!
-
Yes, precisely: we want that icon to link to actionlab.strongtowns.org/hc/en-us We're using the basic commerce plan (and we're on 7.0)
-
Hi everyone, weird question here, but is it possible to force the spyglass icon in the main navigation to link to a different website entirely? I work for a nonprofit that uses a Squarespace-based site for most of our content: https://www.strongtowns.org/ However, there is an auxiliary website we want to direct users to when they click the spyglass icon: https://actionlab.strongtowns.org/hc/en-us Is there a way to accomplish this (with code or otherwise)? I'd also love for the actual /search URL on our site to redirect to https://actionlab.strongtowns.org/hc/en-us. Right now, I have a code on the /search page that disables the search function, so it just appears as a blank page--which isn't ideal. Any advice would be greatly appreciated. Thank you!
-
Jia reacted to a post in a topic: Removing date from event thumbnail on one page
-
Removing date from event thumbnail on one page
ShinaShayesteh replied to ShinaShayesteh's topic in Customize with code
Thanks, Jia, this is so helpful! I ended up needing to get the collection id for the index that this page was in, but once I found that, this worked! đź‘Ť- 2 replies
-
- code-injection
- code
-
(and 2 more)
Tagged with:
-
ShinaShayesteh reacted to a post in a topic: Removing date from event thumbnail on one page
-
Site URL: https://www.strongtowns.org/local-motive-past-tours Trying to get rid of the dates on the event thumbnails for this one specific page (we need them on other pages, so I can't alter the Custom CSS). This is the code I'm injecting into the header, but it's not working. <style> .eventlist-datetag { display: none; } </style> Does anyone have a solution? I'll note that this page is one in an index of pages, if that makes any difference.
- 2 replies
-
- code-injection
- code
-
(and 2 more)
Tagged with: