WordPress – Using the Additional CSS Class Block
Changing the font with Custom CSSTo change the font, or color, or other attribute, you can use the Additional CSS Classes field in the Advanced section of the Properties panel. Here is that process: 1 In the Additional CSS Classes field, enter a unique class name, like “poetfont”. 2 Save the page.In the Appearance/Customize item in the Dashboard, go to “Additional CSS” and define the class you’ve named. In this case, the definition might look like:.poetfont { font-family: Merriweather, Times, serif;} 3 Publish the changesYou can change other attributes using other elements and selectors. Some other examples:text-align: center; color: red;
