Hi @howdoesoneblog.
You highlight the two ways you could go at this problem. the first would be to change the underlying markup, and the second is to change the styling.
The widget uses the HTML5 document outline best practices, though it’s not perfectly supported by all the devices that should right now. However, it’s probably here to stay. If you want to change the markup, you’ll need to override the widget’s markup template as described on the FAQ page.
You found the right selector .fpw-page-title
, but, as the comment suggests, it won’t always be picked up. That’s because it has a low CSS specificity. When in doubt, I think the theme should be handling the styles. If you’re using that selector then, you’ll need to either:
- Make it more specific with some additional classes or IDs
- Use the
!important
keyword with your selector.
A lot of people say to never use the !important keyword, but in isolated cases where you may be battling something with an unreasonable specificity, I think it’s the way to go.
Either way, make sure you use a child theme to override your theme styles! Good luck.