Beyondspace Posted November 13, 2020 Share Posted November 13, 2020 Site URL: https://beyondspace7-1.squarespace.com/?password=1234 Added new Gallery Effect on the Directory, you can use Copy button or take the code down below https://beyondspace7-1.squarespace.com/?password=1234 Set up caption like so <h2>Passionate <span>Julia</span></h2> <div> <p>Julia dances in the deep dark</p> <p>She loves the smell of the ocean</p> <p>And dives into the morning light</p> </div> BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted November 13, 2020 Author Share Posted November 13, 2020 /* Common style */ .gallery-grid-item { position: relative; float: left; overflow: hidden; background: #3085a3; text-align: center; cursor: pointer; box-sizing: border-box; } .gallery-grid-item img { display: block; min-height: 100%; max-width: 100%; opacity: 0.8; } .gallery-grid-item .gallery-caption { padding: 0.5em; color: #fff; text-transform: uppercase; font-size: 1.25em; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-sizing: border-box; } .gallery-grid-item .gallery-caption::before, .gallery-grid-item .gallery-caption::after { pointer-events: none; } .gallery-grid-item .gallery-caption, .gallery-grid-item .gallery-caption > a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /* Anchor will cover the whole item by default */ /* For some effects it will show as a button */ .gallery-grid-item .gallery-caption > a { z-index: 1000; text-indent: 200%; white-space: nowrap; font-size: 0; opacity: 0; } .gallery-grid-item h2 { word-spacing: -0.15em; font-weight: 300; color: #fff; } .gallery-grid-item h2 span { font-weight: 800; } .gallery-grid-item h2, .gallery-grid-item .gallery-caption-wrapper div p { margin: 0; } /* Override default caption */ .gallery-grid-item .gallery-caption-wrapper div p.gallery-caption-content { display: none; } .gallery-grid-item .gallery-caption-wrapper div p { letter-spacing: 1px; font-size: 68.5%; } .gallery-grid-item { background: #2f3238; } .gallery-grid-item img { max-width: none; height: 400px; -webkit-transition: opacity 1s, -webkit-transform 1s; transition: opacity 1s, transform 1s; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .gallery-grid-item .gallery-caption { text-align: left; } .gallery-grid-item h2 { position: relative; padding: 0.5em 0 0; } .gallery-grid-item .gallery-caption-wrapper div p { display: inline-block; margin: 0 0 0.25em; padding: 0.4em 1em; background: rgba(255,255,255,0.9); color: #2f3238; text-transform: none; font-weight: 500; font-size: 75%; -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(-360px,0,0); transform: translate3d(-360px,0,0); } .gallery-grid-item .gallery-caption-wrapper div p:first-child { -webkit-transition-delay: 0.15s; transition-delay: 0.15s; } .gallery-grid-item .gallery-caption-wrapper div p:nth-of-type(2) { -webkit-transition-delay: 0.1s; transition-delay: 0.1s; } .gallery-grid-item .gallery-caption-wrapper div p:nth-of-type(3) { -webkit-transition-delay: 0.05s; transition-delay: 0.05s; } .gallery-grid-item:hover .gallery-caption-wrapper div p:first-child { -webkit-transition-delay: 0s; transition-delay: 0s; } .gallery-grid-item:hover .gallery-caption-wrapper div p:nth-of-type(2) { -webkit-transition-delay: 0.05s; transition-delay: 0.05s; } .gallery-grid-item:hover .gallery-caption-wrapper div p:nth-of-type(3) { -webkit-transition-delay: 0.1s; transition-delay: 0.1s; } .gallery-grid-item:hover img { opacity: 0.4; -webkit-transform: scale3d(1.1,1.1,1); transform: scale3d(1.1,1.1,1); } .gallery-grid-item:hover .gallery-caption-wrapper div p { opacity: 1; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); } @media only screen and (max-width: 640px) { .gallery-grid-item h2 { font-size: 1.1em; } .gallery-grid-item .gallery-caption-wrapper div p { font-size: 55%; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.