Background Color in Section

Hi, does anyone know a way to add a color picker to the section module?

I need to be able to choose different colors for each section inside the same Layout component.

Well, I figured it out. For anyone looking for the same here is the solution:

  • create a custom component
  • mark the checkbox “Has child components”
  • create a field for the class and one for the color

And it works!

if you name it “section” it will replace the default section component

1 Like

Great! Didn’t know that. Thank you.