Jump to content

Text overflow in image block

Recommended Posts

Site URL: https://hungrymonster.co/

I have text inside an image block. Text and button overflows outside of box when resizing browser window and in Mobile view.

I copied code from another image block in a different page that uses hover. I wanted the text to be visible from the start, so I changed a few lines to prevent this one from having a hover.  I actually wanted black text over white background, but didn't know how to do this.

Not sure is that's the reason for the issue.  Any help would be greatly appreciated. Thanks!

Link: https://hungrymonster.co/what-we-offer

Below is the code:

#block-yui_3_17_2_1_1599151758377_28456 .image-card-wrapper {
  visibility: visible !important;
  font-color: #fff !important;
  opacity: 100;
  transition-duration: 1s;
  background-color: hsl(244, 39%, 55%)
}

.code-block {
padding: 0 !important;
}

#block-yui_3_17_2_1_1599151758377_28456 :hover .image-card-wrapper {
  visibility: visible;
  opacity: 100;
  border-radius: 11px;
  background-color: hsl(244, 39%, 55%)
}

 

 

Screen Shot 2020-09-03 at 1.50.17 PM.png

Link to comment
  • Replies 5
  • Created
  • Last Reply
On 9/4/2020 at 10:47 PM, JesusGrc said:

The link is in the message above. No worries, here it is:  https://hungrymonster.co/what-we-offer

Thank you.

I don't see it on above link. Did you remove/solved the problem?

On 9/10/2020 at 6:07 AM, RolandFuseHub said:

Following....

Can you share link to page where you has problem? We can check easier.

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

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.