HTML Bric and List Tag

Hi.
I use the HTML bric and insert a code with H3, H2,P and Li tag. But the list has a different color. All the other tags got the color I choose in the global font. Why not the li tag ? Any ideas how to fix it ?
Tom

Just like anything else, make a class for it and style.
Eg.

li p

Styling a targeted list. Then…

.fancy-list li p

Then just add .fancy-list to the list on the canvas.

Not sure if I understand correct. Let’s say I have add a h3 - then I create a class and Style the color / gradient and so on. This is the way I do it at the moment.

But when I understand correct, in this case I set the class to the whole html bric?

What I don’t understand: I set a global color. Why it’s not working on the list?

Use the browser inspector to see how the css is working.

That’s what I see …

Bildschirmfoto 2023-03-21 um 12.27.37

I set a class in the html bric and set the color to grey. Okay - works. But I am surprised why there is no Li Tag in the global settings …

But no matter . it works

The list has a different color, because the Blocs default styles aren’t handling list items.

1 Like

Oh you coded this yourself?

The text is in the li itself directly, no typography tags.

So to style that you would use

ul li

li should be sufficient.

1 Like

no, I didn’t write it myself. The insert code is created by another provider (dsgvo)
Here you see a little bit more …

For sure, I usually am more specific.

1 Like
1 Like