Position floating CTA with background image and text
The goal is to have a responsive background image with floating text and CTA. I found the code in another ticket to get most the way there, but am having issues getting the CTA to float under the text. It wants to live in the bottom left corner of the image.
I struggled to get the full image to show and be responsive until I used % on text padding. Hope that's not what's throwing it off. I've tried adding padding or margin to the CTA code, but then the button disappears on the page. Any suggestions?
Do you mind sharing the resource that helped get you started? If you could also clarify a bit more what you would like the cta/positioning to look like in the end? Do you want it centered in the image?
The more information, screenshots and details you can provide, the better the Community can assist.
Position floating CTA with background image and text
Thanks for replying. I figured out a fix yesterday. The code isn't necessarily pretty, but it did get the button to left-align directly under the text, where we were wanting it. A styled soft return was my solution. The mobile version has a small issue with line-height on the 3rd line, but I was on a short deadline and will have to revisit later. Adding info below in case it helps anyone else. If you have a better solution that doesn't cause the mobile issue, I'd love to see it.