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, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🚀 Learn how to rank new pages on Google in 48 hours!

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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

 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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.