dl_23 Posted September 23, 2021 Share Posted September 23, 2021 (edited) Since I haven't been able to get the search block to work, I decided to go with Google's "Programmable Search" and just paste the HTML to a code block. However, I'd like to have the search bar in the header instead of taking up space on every page. Any suggestions would be greatly appreciated. Thanks! Edited September 30, 2021 by dl_23 Specify version Link to comment
tuanphan Posted September 24, 2021 Share Posted September 24, 2021 Hi, Can you share link to your site? dl_23 1 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
dl_23 Posted September 26, 2021 Author Share Posted September 26, 2021 (edited) Hey @tuanphan Sorry, just saw this! site: https://tarantula-porcupine-bkrr.squarespace.com/ The password is 1234 Edited September 28, 2021 by dl_23 Link to comment
tuanphan Posted September 28, 2021 Share Posted September 28, 2021 On 9/26/2021 at 8:58 PM, dl_23 said: Hey @tuanphan Sorry, just saw this! site: https://tarantula-porcupine-bkrr.squarespace.com/ The password is 1234 Hi, You want to move this? dl_23 1 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
dl_23 Posted September 28, 2021 Author Share Posted September 28, 2021 4 hours ago, tuanphan said: Hi, You want to move this? Exactly! Link to comment
Solution tuanphan Posted September 30, 2021 Solution Share Posted September 30, 2021 On 9/28/2021 at 9:26 PM, dl_23 said: Exactly! Add to Last Line in Code Injection > Footer <script> $(document).ready(function() { $('div#block-aada196faed00d4629aa').insertBefore('nav.header-nav-list'); }); </script> <style> .header-nav-wrapper { flex-direction: row !important; flex-wrap: nowrap !important; display: flex; justify-content: space-between; align-items: center; } div#block-aada196faed00d4629aa { flex-basis: 60%; } </style> dl_23 1 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
dl_23 Posted September 30, 2021 Author Share Posted September 30, 2021 (edited) 5 hours ago, tuanphan said: Add to Last Line in Code Injection > Footer <script> $(document).ready(function() { $('div#block-aada196faed00d4629aa').insertBefore('nav.header-nav-list'); }); </script> <style> .header-nav-wrapper { flex-direction: row !important; flex-wrap: nowrap !important; display: flex; justify-content: space-between; align-items: center; } div#block-aada196faed00d4629aa { flex-basis: 60%; } </style> This worked great, thanks! However, is there a way to control the width of the search bar so that it doesn't push the header navigation links to two rows? Edited to add: Nevermind. Just changed flex-basis to 40% and it worked. Thanks so much again! Edited September 30, 2021 by dl_23 tuanphan 1 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