Jump to content

Text overflowing image block title

Recommended Posts

Site URL: https://www.daniellehersey.com/wedding-gallery

Hello,

I've got a simple image block with an inline image title - I've got a colored image container but want the text to align central inside the colored container - the text continues past the container and any padding rules don't help specifically on the text itself. I need to point to that specific paragraph to shift left or at least add padding so it doesn't continue off the container. When I try to shift the title overlap in the styles panel the paragraph of text just anchors to the right and widens the text. 

Is this to do with the 'flex' data width? I'm stuckkk. TIA

Screen Shot 2022-05-30 at 10.47.01 am.png

Link to comment
  • Replies 2
  • Views 319
  • Created
  • Last Reply

Top Posters In This Topic

Try this CSS

div#block-yui_3_17_2_1_1652762697141_96217 .image-title.sqs-dynamic-text {
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    min-width: unset !important;
    max-width: 80% !important;
    margin: 0 auto !important;
}

 

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

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.