How to Change Font Size on WordPress

In this tutorial, you will learn:

How to modify the size of text within the post and page editor by using default theme styles.How to add custom CSS to globally modify text size on the entire web site.After logging into the WordPress Dashboard, click Pages. You can do the same for Posts.Click the Edit link below a page.Switch the Editor to Visual view.Click on a paragraph that you would like to modify the text size for.Choose from the list of styles from the drop down list. Click Update when finished.The options that show up in the dropdown are defined by the theme being used. There are ways to override the styles on the web site as a whole, if you have a good reason to do so. To do this, you can create your own custom CSS.In the past, it was suggested to create a child theme in order to create custom CSS. Version 4.7 of WordPress bundles with a Custom CSS tool that allows you to see your changes Live, and without the need for a child theme.You can install the JetPack plugin, connect it with your WordPress.com account, and choose the Free plan if desired. Now, you can turn on Custom CSS by first going to Jetpack, then Settings, then Appearance.Make sure that Custom CSS is switched on.Go to the Appearance Menu, and then click Edit CSS. To continue, you will need to know what CSS classes and IDs to edit the CSS for, which are often theme specific. You can go to the Theme Editor to look at these styles by clicking Appearance and then Editor. You may also use more general selectors such as body.Look at the code in the video, or on the web page with the written tutorial, to see how to edit the font size for the body tag. Essentially, you type: body, an open squiggly bracket, font-size, a colon, your desired value, a semicolon, then a closing squiggly bracket.Click Save Stylesheet, then view your web site to see the changes.Styles are notoriously cached, so if you do not see any changes, it may be for this reason. In general, pressing Shift+Ctrl+R, and possibly Shift+Command+R on a MAC, will clear the cache, hopefully allowing you to see your changes.
0'; google_ad_type = 'image'; google_ad_channel ='AdSense Default'; google_color_border = 'B0C9EB'; google_color_link = '164675'; google_color_bg = 'FFFFFF'; google_color_text = '333333'; google_color_url = '2666F5'; google_ui_features = 'rc:0'; //-->

Code used within this tutorial:

body { font-size: 5rem;}

View the original article here

This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.

Leave a Reply

Your email address will not be published. Required fields are marked *