Template Widget: Change Background-Color

Hey there,

perhaps a silly but for sure a simple question.

I want to create a custom widget and want to set the background to a color.

The following test code:

<style>
.Test {
  background-color: lightblue;
}
</style>

<div class="Test">
Hallo
</div>

gives me this result:
03

How could i get rid of the white color?

Anyone with an idea?

Cheers Nic

The easiest is:

<div class="box" style="background: lightblue;">
	<div class="box-content">Hallo</div>
</div>

(and check “don’t wrap in container” for your template since you basically made the container yourself :slight_smile:)