{"id":15328,"date":"2019-02-15T15:14:59","date_gmt":"2019-02-15T15:14:59","guid":{"rendered":"https:\/\/www.hostinger.com\/tutorials\/?p=15328"},"modified":"2024-03-26T15:00:49","modified_gmt":"2024-03-26T15:00:49","slug":"how-to-change-font-size-in-wordpress","status":"publish","type":"post","link":"\/ph\/tutorials\/change-font-size-in-wordpress","title":{"rendered":"How to Change Font Size in WordPress"},"content":{"rendered":"<p>Changing the font size on <a href=\"\/ph\/tutorials\/what-is-wordpress\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress is<\/a> easy. You&rsquo;ll learn everything you need to know in this article. We&rsquo;ll cover two methods &ndash; installing a plugin and using CSS.<\/p><p>WordPress is known for its user-friendly post-editing. Just like your favorite word-processing software, it offers many options. You can edit content easily using a drop-down menu to set headings and paragraphs.<\/p><p>Please note that the structure of your content is important for visitors and SEO. Having a good heading structure helps search engines scan the main topics of your posts, especially the long ones. This will help achieve a better ranking in the search engine results pages.<\/p><p>The latest WordPress version comes with the Gutenberg editor. We&rsquo;ll also show you how to change the font size with this tool.<\/p><h2 class=\"wp-block-heading\" id=\"h-changing-the-font-size-using-the-tinymce-advanced-plugin\">Changing the Font Size Using the TinyMCE Advanced Plugin<\/h2><p><a href=\"https:\/\/wordpress.org\/plugins\/tinymce-advanced\/\" target=\"_blank\" rel=\"noopener noreferrer\">TinyMCE Advanced<\/a> is a free plugin that lets you choose your preferred font size easily. This plugin provides a classic editor toolbar on the new Gutenberg editor.<\/p><p>First, you need to <a href=\"\/ph\/tutorials\/wordpress\/how-to-install-wordpress-plugins\" target=\"_blank\" rel=\"noreferrer noopener\">install and activate the plugin<\/a>. Then, you can go to the <strong>Settings<\/strong> page. You&rsquo;ll find two tabs: <strong>Block Editor (Gutenberg)<\/strong> and <strong>Classic Editor (TinyMCE)<\/strong>.<\/p><p>If you want to use the classic editor only, enable <strong>Replace the Block Editor with the Classic Editor<\/strong> under <strong>Advanced Settings<\/strong>. But leave it unticked to use both editors side by side.<\/p><p>Here are the steps to change the font using this plugin:<\/p><p>1. Create a new post or edit an existing one. You&rsquo;ll see a classic paragraph editor.<\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-classic-editor.png\"><img decoding=\"async\" width=\"1024\" height=\"411\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-classic-editor-1024x411.png\" alt=\"The interface of the WordPress classic editor.\" class=\"wp-image-86441\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-1536x616.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-300x120.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-150x60.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-768x308.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor.png 1740w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>2. Highlight the lines of text you want to change, then choose the font size.<\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-classic-editor-font-size.png\"><img decoding=\"async\" width=\"1024\" height=\"386\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-classic-editor-font-size-1024x386.png\" alt=\"Picking a font size on the WordPress classic editor with the current size and text to modify highlighted.\" class=\"wp-image-86442\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size-1024x386.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size-300x113.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size-150x57.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size-768x289.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size.png 1425w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>3. The result will look like this:<\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-classic-editor-font-size-changed.png\"><img decoding=\"async\" width=\"1024\" height=\"435\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-classic-editor-font-size-changed-1024x435.png\" alt=\"The highlighted text appears larger after increasing its size on the WordPress classic editor.\" class=\"wp-image-86443\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size-changed-1024x435.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size-changed-300x127.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size-changed-150x64.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size-changed-768x326.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-classic-editor-font-size-changed.png 1428w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-using-css-the-classic-way\">Using CSS &ndash; The Classic Way<\/h2><p>While the above method is great for a beginner, the classic way requires CSS and might be a little bit more tricky.<\/p><p>However, when using a plugin or the default WordPress editor, you need to do the change for every posts and page. Using CSS changes the font size for the whole site.<\/p><p>Changing the font size using CSS requires adding lines of codes. You can do this via the editor or <strong>Customiser<\/strong>. But, we recommend the customizer as it is the easier method.<\/p><p>1. Go to the WordPress dashboard, then to <strong>Appearance<\/strong> &gt; <strong>Customise<\/strong>.<\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-appearance-customise.png\"><img decoding=\"async\" width=\"1024\" height=\"647\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-appearance-customise-1024x647.png\" alt=\"WordPress dashboard menu with the Customise menu highlighted.\" class=\"wp-image-86444\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-appearance-customise-1024x647.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-appearance-customise-300x190.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-appearance-customise-150x95.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-appearance-customise-768x485.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-appearance-customise.png 1043w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>2. Choose <a href=\"\/ph\/tutorials\/wordpress-custom-css\"><strong>Additional CSS<\/strong><\/a> on WordPress.<\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-customiser-css.png\"><img decoding=\"async\" width=\"1024\" height=\"414\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-customiser-css-1024x414.png\" alt=\"WordPress Customiser with the Additional CSS menu highlighted.\" class=\"wp-image-86445\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-300x121.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-150x61.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-768x311.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>You can add lines of code on the left-hand side box.<\/p><p>1. To change the entire font: <code data-enlighter-language=\"null\" class=\"EnlighterJSRAW\">body { font-size: 1.25rem; }<\/code><\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-customiser-css-font-body.png\"><img decoding=\"async\" width=\"1024\" height=\"496\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-customiser-css-font-body-1024x496.png\" alt=\"WordPress Customiser shows a CSS editor with a syntax to modify the blog's entire font size.\" class=\"wp-image-86446\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-body.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-body-300x145.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-body-150x73.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-body-768x372.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>2. To change the paragraphs&rsquo; font: <code data-enlighter-language=\"null\" class=\"EnlighterJSRAW\">p { font-size: 25px; }<\/code><\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-customiser-css-font-paragraph.png\"><img decoding=\"async\" width=\"1024\" height=\"496\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-customiser-css-font-paragraph-1024x496.png\" alt=\"WordPress Customiser shows a CSS editor with a syntax to modify the blog's paragraph size.\" class=\"wp-image-86447\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-paragraph.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-paragraph-300x145.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-paragraph-150x73.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-paragraph-768x372.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>3. To change specific headings&rsquo; fonts: <code data-enlighter-language=\"null\" class=\"EnlighterJSRAW\">h2 { font-size: 2.5em; }<\/code><\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-customiser-css-font-heading.png\"><img decoding=\"async\" width=\"1024\" height=\"496\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-customiser-css-font-heading-1024x496.png\" alt=\"WordPress Customiser shows a CSS editor with a syntax to modify the font size of a specific heading.\" class=\"wp-image-86448\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-heading.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-heading-300x145.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-heading-150x73.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-customiser-css-font-heading-768x372.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>4. To modify sidebar font size: <code data-enlighter-language=\"null\" class=\"EnlighterJSRAW\">.sidebar li { font-size: 12px; }<\/code> <\/p><p>5. To customize the footer font: <code data-enlighter-language=\"null\" class=\"EnlighterJSRAW\">.footer { font-size: 150%; }<\/code> <\/p><p>6. To change specific screen sizes&rsquo; font: <\/p><p><code data-enlighter-language=\"null\" class=\"EnlighterJSRAW\">html { font-size: 18px; } @media (min-width: 900px) { html { font-size: 20px; } }<\/code> <\/p><p>CSS stylings allow four different units to measure the size of the text:<\/p><ul class=\"wp-block-list\">\n<li><strong>Em<\/strong> <strong>(em)<\/strong>. This is a unit used in web media documents. 1em is equal to 12 points.<\/li>\n\n\n\n<li><strong>Pixels<\/strong> <strong>(px)<\/strong>. This is a unit used in screen media. 1px is equal to 1 dot on a computer screen.<\/li>\n\n\n\n<li><strong>Points<\/strong> <strong>(pt)<\/strong>. This unit is for traditional printed media. 1 point is equal to 1\/72 of an inch.<\/li>\n\n\n\n<li><strong>Percent<\/strong> <strong>(%)<\/strong>. The default is 100% which will change after zooming in or out.<\/li>\n<\/ul><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a href=\"\/ph\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner-1024x300.png\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner-1024x300.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner-300x88.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner-150x44.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner-768x225.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner-1536x450.png 1536w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-using-the-gutenberg-editor\">Using the Gutenberg Editor<\/h2><p>As mentioned earlier, <a href=\"\/ph\/tutorials\/gutenberg-wordpress\" target=\"_blank\" rel=\"noreferrer noopener\">Gutenberg<\/a> is a new WordPress addition. It integrates into the CMS to make editing media-rich posts easier.<\/p><p>A noticeable change is the use of <strong>blocks<\/strong>. Blocks let you drag and drop media files into your posts like any other page builder.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor.png\"><img decoding=\"async\" width=\"1024\" height=\"463\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor-1024x463.png\" alt=\"WordPress Gutenberg Editor shows the expanded block inserter tool.\" class=\"wp-image-86449\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-1536x694.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-300x136.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-150x68.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-768x347.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor.png 1916w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>To change font sizes using the Gutenberg editor, follow these easy steps:<\/p><p>1. Pick an existing post to edit or create a new one<strong>.<\/strong><\/p><p>2. Click on the<strong> three-dot menu<\/strong> to access <strong>Typography <\/strong>settings that aren&rsquo;t visible by default.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor-typography.png\"><img decoding=\"async\" width=\"1024\" height=\"568\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor-typography-1024x568.png\" alt=\"WordPress Gutenberg with the Typography menu expanded.\" class=\"wp-image-86450\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-1024x568.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-300x166.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-150x83.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-768x426.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography.png 1510w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>3. Hover your cursor over the block you want to modify and choose one of the four preset sizes &#8210; <strong>small<\/strong>, <strong>medium<\/strong>, <strong>large<\/strong>, and <strong>extra large<\/strong>.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor-typography-preset-size.png\"><img decoding=\"async\" width=\"1024\" height=\"590\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor-typography-preset-size-1024x590.png\" alt=\"WordPress Gutenberg with the Size selection options highlighted.\" class=\"wp-image-86451\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-preset-size-1024x590.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-preset-size-300x173.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-preset-size-150x86.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-preset-size-768x443.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-preset-size.png 1452w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>4. If you have a specific size in mind, enter the custom font size in the <strong>Size Custom<\/strong> field. You can choose between <strong>px<\/strong>, <strong>em<\/strong>, or <strong>rem<\/strong>.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor-typography-custom-size.png\"><img decoding=\"async\" width=\"1024\" height=\"593\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor-typography-custom-size-1024x593.png\" alt=\"WordPress Gutenberg with the Size Custom field highlighted.\" class=\"wp-image-86452\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-custom-size-1024x593.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-custom-size-300x174.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-custom-size-150x87.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-custom-size-768x445.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-custom-size.png 1453w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Alternatively, move the slider to increase or decrease the font size.<\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor-typography-size-slider.png\"><img decoding=\"async\" width=\"1024\" height=\"588\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/05\/wordpress-gutenberg-editor-typography-size-slider-1024x588.png\" alt=\"Changing the font size using the slider tool.\" class=\"wp-image-86454\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-size-slider-1024x588.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-size-slider-300x172.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-size-slider-150x86.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-size-slider-768x441.png 768w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/05\/wordpress-gutenberg-editor-typography-size-slider.png 1457w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>WordPress offers great options for customization, including font size adjustment. A perfect font size makes your content more engaging and more comfortable to consume. These adjustments are incredibly easy to make.<\/p><p>Beginners can install a plugin, while users with some CSS knowledge can tweak the themes manually. Happy customizing.<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">Learn Other Advanced WordPress Techniques<\/h4>\n                    <p><a href=\"\/ph\/tutorials\/how-to-add-custom-fonts-to-wordpress\">How to Add a Custom Font to WordPress<\/a><br>\n<a href=\"\/ph\/tutorials\/wordpress-memory-limit\">How to Increase WordPress Memory Limit<\/a><br>\n<a href=\"\/ph\/tutorials\/remove-sidebar-wordpress\">How to Remove a Sidebar in WordPress<\/a><br>\n<a href=\"\/ph\/tutorials\/wordpress-excerpt-length\/\">How to Change WordPress Excerpt Length<\/a><br>\n<a href=\"\/ph\/tutorials\/wordpress-a-b-testing\">A Complete Guide to WordPress A\/B Testing<\/a><br>\n<a href=\"\/ph\/tutorials\/how-to-hide-page-title-wordpress\">How to Hide a Page Title in WordPress<\/a><\/p>\n                <\/div>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-change-font-size-in-wordpress-faq\">How to Change Font Size in WordPress FAQ<\/h2><p>Here are some of the frequently asked questions about how to change font size in WordPress.<\/p><div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1676906775784\"><h3 class=\"schema-faq-question\">Can I Change the Font Size for Specific Pages or Posts in WordPress?<\/h3> <p class=\"schema-faq-answer\">Yes, you can change the font size for specific pages or posts in WordPress by using page builders or by adding custom CSS code.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1676906799728\"><h3 class=\"schema-faq-question\">Is It Possible to Change the Font Size for Mobile Devices in WordPress?<\/h3> <p class=\"schema-faq-answer\">It is possible to change the font size for mobile devices in WordPress by using responsive design techniques and media queries in your CSS.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1676906829753\"><h3 class=\"schema-faq-question\">What Is the Default Font Size in WordPress?<\/h3> <p class=\"schema-faq-answer\">The default font size in WordPress depends on the theme you are using. It is usually set to 16 pixels, but it can vary. You can check the default font size by inspecting the code or by using a browser&rsquo;s developer tools.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Changing the font size on WordPress is easy. You&rsquo;ll learn everything you need to know in this article. We&rsquo;ll cover two methods &ndash; installing a plugin and using CSS. WordPress is known for its user-friendly post-editing. Just like your favorite word-processing software, it offers many options. You can edit content easily using a drop-down menu [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ph\/tutorials\/change-font-size-in-wordpress\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":172,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to Change Font Size in WordPress (Using 2 Methods)","rank_math_description":"Font sizes in WordPress matters for SEO reasons amongst other things. In this article, you'll learn how to change font size in WordPress.","rank_math_focus_keyword":"how to change font size in wordpress","footnotes":""},"categories":[],"tags":[],"class_list":["post-15328","post","type-post","status-publish","format-standard","hentry"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/change-font-size-in-wordpress","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/como-aumentar-tamanho-fonte-wordpress","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/changer-taille-police-wordpress","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/cambiar-tamano-letra-wordpress","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/cara-mengganti-font-di-wordpress","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/change-font-size-in-wordpress","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/change-font-size-in-wordpress","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/change-font-size-in-wordpress","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/que-son-hooks-wordpress-19","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/que-son-hooks-wordpress-19","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/cambiar-tamano-letra-wordpress","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/como-aumentar-tamanho-fonte-wordpress","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/change-font-size-in-wordpress","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/change-font-size-in-wordpress","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/change-font-size-in-wordpress","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/change-font-size-in-wordpress","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/posts\/15328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/users\/172"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/comments?post=15328"}],"version-history":[{"count":20,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/posts\/15328\/revisions"}],"predecessor-version":[{"id":104315,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/posts\/15328\/revisions\/104315"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/media?parent=15328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/categories?post=15328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/tags?post=15328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}