Jump to content

Alehstudio

Circle Member
  • Posts

    12
  • Joined

  • Last visited

Reputation Activity

  1. Like
  2. Like
    Alehstudio reacted to colin.irwin in Disabling Lightbox in Summary Box but keeping links when present   
    If it's the team member gallery you want to customise the code would be 
    .summary-item a[href^="/en/teamphoto"] { pointer-events: none; }  
  3. Like
    Alehstudio got a reaction from colin.irwin in Disabling Lightbox in Summary Box but keeping links when present   
    Thank you very much!!! It worked great!
    Alessandro
  4. Like
    Alehstudio reacted to colin.irwin in Disabling Lightbox in Summary Box but keeping links when present   
    Do you have a link to a page with such a summary block?
  5. Like
    Alehstudio reacted to colin.irwin in Disabling Lightbox in Summary Box but keeping links when present   
    As a test I created a gallery called test gallery. 
    Then I gave some of the items in the gallery links 

     
    I created a summary block on another page that uses the gallery as the source of its images. 
    Then I created a css rule to kill pointer events for any summary items whose link is from the original gallery (begins with /test-gallery).
    It works as expected. Items with no clickthrough url have a standard cursor and are not clickable but those with a clickthrough work properly. 

    Here is the code - insert it at the bottom of your custom css area after any other code that may already be there. You'll need to tweak href ^= "***" to reflect your gallery slug 
    .summary-item a[href^="/test-gallery"] { pointer-events: none; }
×
×
  • 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.