alexist Posted September 28, 2019 Share Posted September 28, 2019 I'm working on this site: https://jacqueline-misla.squarespace.com The home page and Expertise (https://jacqueline-misla.squarespace.com/expertise) page are both using Poster Image Blocks. I'd like to center the text on the Image Blocks on the Expertise page while keeping them left aligned on the home page. Can anyone help? Link to comment
tuanphan Posted September 28, 2019 Share Posted September 28, 2019 @ineedhelpwithmysite Add to Home > Design > Custom CSS /* Align left homepage */ .homepage .image-title-wrapper * { text-align: left !important; } /* Align center expertise page */ body#collection-5af46a5e6d2a73f222fce6c8 .image-title-wrapper * { text-align: center; } 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
Mdhanjal Posted September 29, 2019 Share Posted September 29, 2019 Add to Home > Design > Custom CSS .sqs-dynamic-text { min-width: 100%; line-height: 1em; text-align: center; } Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me, Email me here: - mandeepsquarespace@gmail.com Hire Upwork: - https://www.upwork.com/freelancers/~01eed466e76c89e024 Behance: - https://www.behance.net/mandeepSquarespace Best Hourly Rate: - $15 Per Hour Link to comment
shihad Posted January 10, 2020 Share Posted January 10, 2020 @Mdhanjal is it possible to target your code to a specific page? I'd like to justify the text in the image blocks on one of my pages, but not on the others. Can that be done? thanks Link to comment
Nondys Posted April 25, 2020 Share Posted April 25, 2020 @shihad I would love to know that answer as well! Link to comment
JustinSeimits Posted February 19, 2021 Share Posted February 19, 2021 @Nondys @shihad You will need to change the data section id="change this" You will also need to change the image type which is .image-card (change out the -card for what type of image you have) CSS TO USE: [data-section-id="603012ed1017941906dd0284"] .image-card-wrapper * { text-align: center; } Link to comment
tuanphan Posted February 22, 2021 Share Posted February 22, 2021 Use this tool to find data section id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.