nickelus Posted September 8, 2023 Posted September 8, 2023 Hi all, I've got a bit of an issue. I have a slideshow banner implemented on my site. Style wise, I want the first image to have the hero on the left, and the text on the right (Capture 1, attached). I want the SECOND image in my slideshow to have the hero on the right and the text on the left (Capture 2, attached). However, when I was on the second image settings, and I set the text position to the left, it then also moved the text position on my first image (Capture 3, attached). As you can see, this looks wrong. Is there no way for me to be able to set a specific text position on each image, separately from the other images? Thanks in advance! Nick
Lesum Posted September 8, 2023 Posted September 8, 2023 @nickelus Hi Nick, Would it be possible to share your site URL so I can take a look? Thanks! 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?
nickelus Posted September 9, 2023 Author Posted September 9, 2023 (edited) Hi Lesum, Of course. Edited September 12, 2023 by nickelus
Lesum Posted September 9, 2023 Posted September 9, 2023 @nickelus The hero images on each banner slide are currently set to 100% width, covering the entire slide. As a result, the positioning of the hero image cannot be adjusted as you indicated. However, we can reposition the text to either the left or right through custom code implementation. One potential solution could be the modification of the hero images themselves using tools like Photoshop or Canva to ensure the athlete or human figure is correctly positioned. For example, you can place the athlete on the right side for the first hero image. Then, we can implement custom code to move the text to the desired right-aligned position. 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?
nickelus Posted September 9, 2023 Author Posted September 9, 2023 Hi Lesum, Thanks so much for your reply. I'm not sure I quite understand. I am happy with the positions of the girl in each slide. In slide one the jumping girl should be on the left, with the text on the right (as in my first attachment). In slide two, the girl is on the right and the text should be on the left. The problem is that when I move the text to the left, in slide two, it also affects the text in slide one, making the text now cover the jumping girl. Is there code you can suggest that will allow me to position the text differently on each slide image? Thanks again for your help! 🙂
Solution creedon Posted September 9, 2023 Solution Posted September 9, 2023 Pick an alignment that will cover the majority of your card positions. Then override individual slide alignments as needed. So for your second image add the following to Website > Website Tools > Custom CSS. [ data-section-id="64c557f15811fe41b721a33e" ] .user-items-list-banner-slideshow .slide:nth-child( 2 ) { justify-content : flex-start; } This is for v7.1 and specific to the element the poster choose. Note the data-section-id which is the ID for the particular section under discussion. Also not the nth-child which let you pick which slide to work with. You might want to get a little more space around the card with the built-in setting as when the viewport gets narrow the text overlays the arrows. Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
nickelus Posted September 11, 2023 Author Posted September 11, 2023 Hi Creedon, Thanks so much for your help - this appears to have worked! So to confirm, if I wanted to change anything on slide 3, I would change the nth value to 3. Correct? Can you elaborate on what you mean by ''You might want to get a little more space around the card with the built-in setting as when the viewport gets narrow the text overlays the arrows.''? Specifically the 'space around the card' comment? Many thanks!
creedon Posted September 11, 2023 Posted September 11, 2023 Quote if I wanted to change anything on slide 3, I would change the nth value to 3. Correct? Yes. Quote Can you elaborate on what you mean by ''You might want to get a little more space around the card with the built-in setting as when the viewport gets narrow the text overlays the arrows.''? I believe there is a setting that you can set that adjusts the padding around the text. I noticed that when the viewport got narrow the text overlapped the arrows with your current setting. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
nickelus Posted September 12, 2023 Author Posted September 12, 2023 Ah that makes sense. Thank you so much for your help Creedon - I really appreciate it! creedon 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment