Most Themes: Adjust Text Widget Font Size and Line Height

Many customers wish to embed text widgets in available widget areas, regardless of themes. Text widgets are useful for disclaimers, or small messages to readers. To manually change the font size and line height (space between lines of text) of the main text of any Text widget, you can use the Code Hack below. This Code Hack will work for the following themes:

  • Brevier
  • Presidio
  • Rania
  • Pearl
  • Hayes

This is what the Code Hack looks like in action (demonstrated in our Presidio theme):

And this is the code you need to implement it: