Hey! I have a custom coded template and I am using the newest tool for CTAs. I made one that displays nicely on desktop, but as soon as I resize the window to 480px, the CTA moves to the left. In order to center it on desktop, I had to use 2 horizontal spacers, which are dissapearing on mobile.
Any ideas?
Hi @HS_HS,
could you provide a (preview) link to the page please?
Haven’t worked with templates in a while but I think the easiest solution would be to delete the two horizotal spacers on the left/right of the Call-to-action module, wrap the Call-to-action module in a group, give it a class e.g “centered” and add this to your CSS file like this
.centered{
text-align:center;
}
best,
Anton
Hey Anton! Thanks for the reply! Here is a preview link (hopefully works): https://landing.hispanosuizacars.com/-temporary-slug-f91ea445-6229-44d7-b019-d55de76ab94c?hs_preview=JgUuePaa-121810046381
I’ll give your solution a go in a second! Thanks!
Kind of worked out, I think. I had to add some paddings but I think that does the trick. Still, a weird behavior from the new CTA system.
