rhondahymason Posted November 5, 2022 Share Posted November 5, 2022 Hi guys, When visitors click the Search icon in my mobile header, is there any way I can get it to redirect them to a specific search page on my site rather than just bringing up the default search page? Thanks, Rhonda Link to comment
Beyondspace Posted November 5, 2022 Share Posted November 5, 2022 7 hours ago, rhondahymason said: Hi guys, When visitors click the Search icon in my mobile header, is there any way I can get it to redirect them to a specific search page on my site rather than just bringing up the default search page? Thanks, Rhonda We can achieve it with some javascript which is only available on business plan or the above ones. What is your current plan? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
rhondahymason Posted November 7, 2022 Author Share Posted November 7, 2022 (edited) On 11/5/2022 at 9:02 PM, bangank36 said: We can achieve it with some javascript which is only available on business plan or the above ones. What is your current plan? I'm currently on the Business Plan. If I can successfully redirect it, then I can stop stressing about the colours of the header on the mobile search page! 🙂 Edited November 7, 2022 by rhondahymason Link to comment
tuanphan Posted November 10, 2022 Share Posted November 10, 2022 On 11/7/2022 at 10:55 AM, rhondahymason said: I'm currently on the Business Plan. If I can successfully redirect it, then I can stop stressing about the colours of the header on the mobile search page! 🙂 If you share link to your site, we can give javascript code to do this. Or we can use code to insert custom search icon with custom url 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
rhondahymason Posted November 11, 2022 Author Share Posted November 11, 2022 19 hours ago, tuanphan said: If you share link to your site, we can give javascript code to do this. Or we can use code to insert custom search icon with custom url Thanks @tuanphan! The link is https://unravelyourphotos.squarespace.com/ Link to comment
tuanphan Posted November 13, 2022 Share Posted November 13, 2022 On 11/11/2022 at 9:37 AM, rhondahymason said: Thanks @tuanphan! The link is https://unravelyourphotos.squarespace.com/ I don't see search. Or you want to add a search icon with code to header? 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
rhondahymason Posted November 18, 2022 Author Share Posted November 18, 2022 On 11/13/2022 at 7:11 PM, tuanphan said: I don't see search. Or you want to add a search icon with code to header? Hi @tuanphan, sorry, I've added the search icon back now. I would love to have it redirect to a specific page rather than the default Search page (so that I can style it the way I want). Thanks so much! Rhonda Link to comment
tuanphan Posted November 21, 2022 Share Posted November 21, 2022 On 11/18/2022 at 9:44 AM, rhondahymason said: Hi @tuanphan, sorry, I've added the search icon back now. I would love to have it redirect to a specific page rather than the default Search page (so that I can style it the way I want). Thanks so much! Rhonda Hi, I still dont see search icon on header 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
rhondahymason Posted November 22, 2022 Author Share Posted November 22, 2022 21 hours ago, tuanphan said: Hi, I still dont see search icon on header @tuanphan It only appears in the mobile view. Thank you for your time! Link to comment
Solution tuanphan Posted November 25, 2022 Solution Share Posted November 25, 2022 On 11/22/2022 at 5:17 PM, rhondahymason said: @tuanphan It only appears in the mobile view. Thank you for your time! Add this to Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> <script> $(document).ready(function() { $('.Mobile-bar.Mobile-bar--top .Mobile-bar-search').attr('href','https://google.com'); }); </script> Replace google with new page url If the code work when refresh page only, disable Ajax Loading at Design > Site Styles 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
rhondahymason Posted February 2 Author Share Posted February 2 Thank you soooo much @tuanphan! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment