dl_23
-
Posts
18 -
Joined
-
Last visited
Reputation Activity
-
dl_23 reacted to tuanphan in [SOLVED] Adding a code block (or a google custom search engine) to the site header (7.1)
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 reacted to tuanphan in [SOLVED] Adding a code block (or a google custom search engine) to the site header (7.1)
Hi,
Can you share link to your site?
-
dl_23 reacted to tuanphan in [SOLVED] Adding a code block (or a google custom search engine) to the site header (7.1)
Hi,
You want to move this?
-
dl_23 got a reaction from tuanphan in [SOLVED] Adding a code block (or a google custom search engine) to the site header (7.1)
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!
-
dl_23 got a reaction from Beyondspace in Specifying element ID's inserted with a code block
Hi all,
When inserting an element (a button in this case) into squarespace using HTML in a code block, should I give it a unique element ID? If so, are there any requirements/best practices for creating the unique ID?
Thanks!
-
dl_23 got a reaction from Beyondspace in [SOLVED] Pop-up lightbox text help
Hey @bangank36
Sorry, should have specified!
I'm trying out 2 options for different possible layouts. The lightboxes are on the "Specialties pop out" page.
-
dl_23 got a reaction from Beyondspace in [SOLVED] Pop-up lightbox text help
This was exactly the problem. Thanks so much!
-
dl_23 got a reaction from tuanphan in [SOLVED] Adding Google's Programmable Search Engine to site
Solved, but leaving up for anyone else that runs into the issue. The script will show as disabled until you save changes and exit the editor.