Jump to content

Aligning Text in Gallery Image to the Left

Go to solution Solved by tuanphan,

Recommended Posts

34 minutes ago, LitWorld said:

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

Hi,

My organization is building out a new homepage and we're running into a problem with the gallery image/banner on top. We're trying to have the text on that image align left so it doesn't cover the girl's face, but despite having it be "top left aligned" in design, it keeps showing up as centered. Any advice would be much appreciated - thanks!

Is it the result you want to achieve?

image.thumb.png.7be202bb7132be8687d34da7249a7a36.png

 

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, Lightbox Studio plugin
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
  • Solution
On 10/29/2021 at 12:48 AM, LitWorld said:

It's close -we were hoping that header and the text at the bottom could both be left-aligned and, if possible, closer to the left margins of the image (but not sure if Squarespace is able to do that).

Try adding to Design > Custom CSS

.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;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 10/30/2021 at 10:01 PM, tuanphan said:

Try adding to Design > Custom CSS

.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;
}

 

This worked great, thank you! One question - it's now doing this for all pages on the site. Is there any way to make this work only on the homepage?

Link to comment
8 minutes ago, LitWorld said:

Is there any way to make this work only on the homepage?

Prefix it with

.homepage

 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.