TheSocialGuru Posted January 21, 2021 Share Posted January 21, 2021 Trying to put a search bar in the header on template 7.0 is there a css for this Link to comment
tuanphan Posted January 23, 2021 Share Posted January 23, 2021 You can add a search bar in Footer, then we will give the code to move it into header. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
TheSocialGuru Posted January 27, 2021 Author Share Posted January 27, 2021 The code would be very helpful thanks Link to comment
Tim923 Posted February 1, 2021 Share Posted February 1, 2021 Good Morning @tuanphan I also wanted to instill a search bar into the top header for my page. I have it in the footer, at this time. Site URL: https://www.timothypaulsmith.com/ Password: Jack010203 Link to comment
tuanphan Posted February 3, 2021 Share Posted February 3, 2021 On 2/1/2021 at 7:00 AM, Tim923 said: Good Morning @tuanphan I also wanted to instill a search bar into the top header for my page. I have it in the footer, at this time. Site URL: https://www.timothypaulsmith.com/ Password: Jack010203 Try this guide. https://www.will-myers.com/articles/adding-a-search-bar-to-your-header-in-squarespace-71 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Tim923 Posted February 8, 2021 Share Posted February 8, 2021 Hey Tuanphan No luck with the guide. Link to comment
tuanphan Posted February 9, 2021 Share Posted February 9, 2021 19 hours ago, Tim923 said: Hey Tuanphan No luck with the guide. The code doesn't work or what problem? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Tim923 Posted February 9, 2021 Share Posted February 9, 2021 No his code did not work for my temple or i'm not putting it in right..lol. One or the other. Link to comment
tuanphan Posted February 13, 2021 Share Posted February 13, 2021 On 2/1/2021 at 9:00 PM, Tim923 said: Good Morning @tuanphan I also wanted to instill a search bar into the top header for my page. I have it in the footer, at this time. Site URL: https://www.timothypaulsmith.com/ Password: Jack010203 Okay. Add to Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('footer#footer .search-block').insertAfter('[data-nc-container="right"]'); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Tim923 Posted February 16, 2021 Share Posted February 16, 2021 Works like a charm..Thank you @tuanphan Link to comment
kimimischke Posted August 9, 2021 Share Posted August 9, 2021 Does anyone know if there's a way to put the search bar in my navigation? I have a button in my header so the code is putting the search bar in a funny place. My client wants it to go after The Event in the navigation. The site is https://marigold-mushroom-ed2h.squarespace.com/config/ Thanks, Kimi Link to comment
tuanphan Posted August 12, 2021 Share Posted August 12, 2021 On 8/10/2021 at 1:09 AM, kimimischke said: Does anyone know if there's a way to put the search bar in my navigation? I have a button in my header so the code is putting the search bar in a funny place. My client wants it to go after The Event in the navigation. The site is https://marigold-mushroom-ed2h.squarespace.com/config/ Thanks, Kimi Hi. You want to add search bar next to search item on Main Navigation? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.