Custom Gradient



I’d like to create a gradient from right to left. But in the unbounce page builder it’s only to set it from top to bottom. I tried the following custom css but it would not work:

html body {background: linear-gradient(to right,#ff001e 0%,#ff3282 100%);}

Any ideas what to do?

Thanks & Regards,

1 Like

solved it myself :slight_smile:

I set in the background properties the style to solid and then the opacity to 0 so my code got visible.

1 Like


Just to be sure it’s working everywhere, you should build your gradient here:

And then copy in Unbounce, that’s what I do and it works for any element your target ( font, button, background…)

1 Like