Jump to content

Hover Text Grid Gallery

Recommended Posts

Site URL: https://www.inspirewellnessandnutrition.com/our-suggestions

Hey guys!

 

I am trying to design this resources page with thumbnail images and descriptive text. I would live the text to appear when hovering on images.

Right now, the text (title) is not full when hovering. It's only showing an excerpt in the box and the full text in a separate grey box. (see screenshot)

Could you please help me with the CSS? Or is there better option for same results?

 

Thank you in advance!

Screen Shot 2020-12-14 at 4.35.38 PM.png

Link to comment
  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply
1 hour ago, mathildeeeeee said:

Site URL: https://www.inspirewellnessandnutrition.com/our-suggestions

Hey guys!

 

I am trying to design this resources page with thumbnail images and descriptive text. I would live the text to appear when hovering on images.

Right now, the text (title) is not full when hovering. It's only showing an excerpt in the box and the full text in a separate grey box. (see screenshot)

Could you please help me with the CSS? Or is there better option for same results?

 

Thank you in advance!

Screen Shot 2020-12-14 at 4.35.38 PM.png

Try to add this into Design->Custom css

.sqs-gallery.sqs-gallery-design-grid .slide .margin-wrapper:hover .image-slide-title {
    white-space: initial;
    text-overflow: initial;
    padding-top: 10%;
    height: 30%;
}

image.png.a016527bb4eda832cb786e734e4475d0.png

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

@mathildeeeeee I see on tablet, navigation contact us item break to new line. You can add this to Design > Custom CSS to make all on same line.

/* Nav same line */
@media screen and (max-width:900px) and (min-width:641px) {
div#topNav li {
    margin-left: 5px;
    font-size: 12px;
}
}

conta-ctus.png.5dae9b1150e2797d08b6b0a87f1b51c5.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

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