- In widget settings, go to Style tab -> First/Second Heading.
- Select “Clipped Background” to clip the background by the heading text.
- Now, we need to enable Stroke option in order to get our heading outlined.
You can also set the inner color from Stroke Fill Color, the outline color from Stroke Text Color. Also, you can change the outline width through Stroke Fill Width.