Jump to content

Hover Text Grid Gallery

Recommended Posts

Posted

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

  • Replies 4
  • Views 1.3k
  • Created
  • Last Reply
Posted
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 - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted

@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!)

  • 3 weeks later...
Posted
On 12/20/2020 at 9:19 AM, tuanphan said:

@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

thanks @tuanphan 😉 

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.