Jump to content

mathildenicoline

Circle Member
  • Posts

    33
  • Joined

  • Last visited

Reputation Activity

  1. Like
    mathildenicoline got a reaction from SQSPStarter in Remove horizontal white space / element spacing header   
    Thank you so much, this did the trick!
  2. Like
    mathildenicoline got a reaction from Beyondspace in Captions in lightbox mode 7.1   
    Thank you @bangank36 - Finally it worked! 
  3. Like
    mathildenicoline got a reaction from Beyondspace in Captions in lightbox mode 7.1   
    Site URL: https://orchid-piano-9tpj.squarespace.com/ragnaroken
    I have searched but not found the correct code. I want captions to appear on hover in the gallery - this I have found a code for.
    I also want captions to appear when the image is opened in lightbox - this I can't find a code that does the trick. I want this on all pages.
    This is the code I have for hover in galleries
    figure.gallery-strips-item { position: relative; } .gallery-caption { position: static; } /* title */ .gallery-caption-content { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; z-index: 999; padding: 7%; transition: opacity ease 200ms !important; opacity: 0 !important; pointer-events: none; } .gallery-strips-item:hover .gallery-caption-content { opacity: 1 !important; } /* overlay */ .gallery-strips-item-wrapper a:after { background: #000000; /* overlay color */ content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity ease 200ms !important; } .gallery-strips-item:hover .gallery-strips-item-wrapper a:after { opacity: 0.75; } /* remove gap */ figcaption { padding: 0 !important; }  
×
×
  • 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.