jjohansson Posted June 20 Posted June 20 (edited) Hi I have a cover page with some slides, it takes the alt/title of each slide and I just need to align the text to be in the right bottom of the image (now it goes to the full width of the screen, see attached image) Do you have any idea or tip about how to make it work adapting to each image slide width? https://cristobal-roig-test.squarespace.com Password:2024 I could add you as admin if necessary. Edited June 20 by jjohansson
Solution Lesum Posted June 20 Solution Posted June 20 @jjohansson Apologies, I didn't see your invite from Squarespace earlier. I have just added the code. Now, you'll see that the image title is aligned to the right. Here is the code to align the image title to the right: .sqs-slide-wrapper[data-slide-type="cover-page"] .sqs-slide-container:not(.auto-image-background-color) div:not(.sqs-gallery-circle)>[data-slice-type="gallery"]:not([data-content-empty="true"]) .sqs-slice-gallery-item { width: max-content; left: 50%; transform: translate(-50%, 0%); } This solution is for cover page carousel images on the Squarespace 7.0 Avenue template. The solution to transform image alt text into a title was posted in this forum thread: Cover Page Text with Each Slide. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee?
jjohansson Posted June 20 Author Posted June 20 (edited) Thank you so much @Lesum it works perfect! Edited June 20 by jjohansson
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment