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

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.