Jump to content

Adding Hover Effect and text box in gallery

Recommended Posts

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
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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.