Jump to content

Reducing Left Margin for Text on Banner Image in Bedford

Recommended Posts

Site URL: https://www.litworld.org/home

Hi all,

Could anyone help with reducing the padding (or increasing the margins) for the text overlaying the banner on our homepage? We used some custom CSS to have the text be left-aligned, but the text block itself is still centered on the image and obscuring the faces. Here's the custom CSS currently at work:

.homepage .has-promoted-gallery #promotedGalleryWrapper .sqs-gallery-block-slideshow .meta .meta-description p, .has-promoted-gallery .promoted-gallery-wrapper .sqs-gallery-block-slideshow .meta .meta-description p {
    width: 100% !important;
    text-align: left;
}

If anyone could help, it would be hugely appreciated!

Link to comment
11 hours ago, LitWorld said:

Site URL: https://www.litworld.org/home

Hi all,

Could anyone help with reducing the padding (or increasing the margins) for the text overlaying the banner on our homepage? We used some custom CSS to have the text be left-aligned, but the text block itself is still centered on the image and obscuring the faces. Here's the custom CSS currently at work:

.homepage .has-promoted-gallery #promotedGalleryWrapper .sqs-gallery-block-slideshow .meta .meta-description p, .has-promoted-gallery .promoted-gallery-wrapper .sqs-gallery-block-slideshow .meta .meta-description p {
    width: 100% !important;
    text-align: left;
}

If anyone could help, it would be hugely appreciated!

You can try the negative margin

#block-211e952d2976fb130d89 .meta-inside {
  --alignvalue: -60px;
  margin-left: var(--alignvalue) !important;
  margin-right: var(--alignvalue) !important; 
  padding: 0 !important;
}

Change the alignvalue until it meets your requirement

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

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.