Jump to content

fncreativeconsole

Circle Member
  • Posts

    20
  • Joined

  • Last visited

Everything posted by fncreativeconsole

  1. here is another solution! <!--Make list items clickable--> <script> // JavaScript code to link list-item-media to the closest button document.addEventListener("DOMContentLoaded", function() { var listItems = document.querySelectorAll('.list-item'); listItems.forEach(function(listItem) { var media = listItem.querySelector('.list-item-media'); var closestButton = listItem.querySelector('.list-item-content__button'); if (media && closestButton) { media.addEventListener('click', function() { closestButton.click(); // Trigger button click when list item media is clicked }); } }); }); </script>
  2. Site URL: https://tbcf.squarespace.com/ Hi all! I am trying to move my social links to the left side of the navigation. However, when I implement the following code, it shows duplicates of my social links (photo attached). <script> $(document).ready(function() { $(".header-actions-action--social").detach().prependTo(".header-title-nav-wrapper"); }); </script> Please help! Any rationale as to why that is happening? Any code fixes for moving these links over to the left side? Thank you!!! Site: https://tbcf.squarespace.com/ Password: tbcf
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.