LitWorld Posted December 8, 2021 Share Posted December 8, 2021 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
Beyondspace Posted December 9, 2021 Share Posted December 9, 2021 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 LitWorld 1 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 HighlighterIf 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment