Guest Posted March 26, 2021 Share Posted March 26, 2021 Site URL: https://parakeet-lime-ltcg.squarespace.com/?p Does anyone know how I can adjust my code to make hover effects on images in a gallery? Also I am trying to have at ext box display. I am hoping to make it look like this: https://www.imagebrew.com/home Here is my code: body { width: 100%; } section.gallery-section [class*='-item']:not([class*='-item-']):not([class*='-reel']):not([class*='-slideshow']) { position: relative; } .gallery-item-description { font-family: granville, serif; font-size: 30px; color: black; text-align: center; } .gallery-grid, .gallery-strips, .gallery-masonry, .gallery-reel, .gallery-fullscreen-slideshow { .gallery-item-description { position: absolute; top: 50%; width: 100%; bottom: 0; padding: 0% 0%; box-sizing: border-box; }} .gallery-gallery-reel-list:hover a img { opacity: 0.4!important; } .gallery-reel-item img {left: 10px !important;} figure.gallery-reel-item.has-clickthrough:hover img { opacity: 0.5; } figure.gallery-reel-item.has-clickthrough:hover { opacity: 0.5; } Thanks! Link to comment
Beyondspace Posted March 30, 2021 Share Posted March 30, 2021 On 3/26/2021 at 10:06 PM, NateChristy said: Site URL: https://parakeet-lime-ltcg.squarespace.com/?p Does anyone know how I can adjust my code to make hover effects on images in a gallery? Also I am trying to have at ext box display. I am hoping to make it look like this: https://www.imagebrew.com/home Here is my code: body { width: 100%; } section.gallery-section [class*='-item']:not([class*='-item-']):not([class*='-reel']):not([class*='-slideshow']) { position: relative; } .gallery-item-description { font-family: granville, serif; font-size: 30px; color: black; text-align: center; } .gallery-grid, .gallery-strips, .gallery-masonry, .gallery-reel, .gallery-fullscreen-slideshow { .gallery-item-description { position: absolute; top: 50%; width: 100%; bottom: 0; padding: 0% 0%; box-sizing: border-box; }} .gallery-gallery-reel-list:hover a img { opacity: 0.4!important; } .gallery-reel-item img {left: 10px !important;} figure.gallery-reel-item.has-clickthrough:hover img { opacity: 0.5; } figure.gallery-reel-item.has-clickthrough:hover { opacity: 0.5; } Thanks! We can help by enable site wide password to get access to your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
Create an account or sign in to comment
You need to be a member in order to leave a comment