Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Caption style
I want to set a style to my caption labels in a form layout but I didn't find the way.
How can I solve it ?
Is there a way to add a style to captions ?
Tks
Tullio
Caption elements have v-caption style. In your case they are inside a Form which has a v-form style. There's also the v-formlayout between those. The captions also have some inner elements.
".v-form .v-caption {}" should probably work in your case. See this example.
While the Book contains some information about the style names in most components, I really recommend using Firebug or some equivalent tool for browsing the DOM tree and the element styles.