Jump to content

JackCurrie1

Member
  • Posts

    4
  • Joined

  • Last visited

JackCurrie1's Achievements

  1. Hey guys! I'm wondering if anyone has a custom code that can fix my issue. I feel as though I have too much space space between my header and the top of my first row of images in my gallery. This issue is fixed when I change my gallery to full bleed however this also means the images go right to the edge of the screen on the sides as well, which I do not want. Is there a way to remove the white space above the gallery by moving it up without effecting the margins on the side of the page? Thanks all!
  2. @Ren7 @jpeter I still can't get this to work, I have never used JavaScript so I am completely clueless when looking at the code. I have copy and pasted the message about and made sure the put the script tags either side but it isn't working. Any ideas why, do I need to change anything on it or should it just be a case of copy and pasting. I will paste what I have done below. Thanks <script> (function(){ // Loop through all images on the page adding necessary styles and // event listener to prevent images from opening the context menu. document.querySelectorAll('img').forEach(img => { img.style.webkitUserSelect = 'none'; img.style.webkitTouchCallout = 'none'; img.addEventListener('contextmenu', evt => { evt.preventDefault(); return false; }); }); })() </script>
×
×
  • 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.