{"id":3177,"date":"2024-04-18T14:36:32","date_gmt":"2024-04-18T09:06:32","guid":{"rendered":"https:\/\/shricloud.com\/kb\/?post_type=manual_kb&#038;p=3177"},"modified":"2024-05-18T09:55:37","modified_gmt":"2024-05-18T04:25:37","slug":"how-to-change-the-font-color","status":"publish","type":"manual_kb","link":"https:\/\/shricloud.com\/kb\/article\/how-to-change-the-font-color\/","title":{"rendered":"How To Change The Font Color?"},"content":{"rendered":"<div class=\"\">\n<div class=\"article intercom-force-break\">\n<div class=\"mb-10 max-lg:mb-6\">\n<div class=\"flex flex-col gap-4\">\n<div class=\"flex flex-col\"><\/div>\n<div class=\"avatar\">\n<h3 class=\"avatar__info -mt-0.5 text-base\">To change the Font colour:<\/h3>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"jsx-adf13c9b2a104cce \">\n<div class=\"jsx-adf13c9b2a104cce article_body\">\n<article class=\"jsx-adf13c9b2a104cce \">\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>All themes need to be customized in order to achieve the look and feel you want. Despite the thousands of free and paid themes for WordPress, you&#8217;ll never find one that fits you out of the box.<\/p>\n<p>One of the most common customizations is to change the background, the font color etc. Unfortunately, not all themes give users the option to change the font color in WordPress.<\/p>\n<p>In this tutorial, I&#8217;ll show you how to do exactly that.<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-subheading intercom-interblocks-align-left\">\n<h2 id=\"h_fceb0cd15b\">Step 1: Check and See if your Theme Supports Font Color Changes<\/h2>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>If you&#8217;re lucky, your theme will already have the option to change your font color. To check, go to Appearance -&gt; Customization in your WordPress dashboard as shown here:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-image intercom-interblocks-align-left\"><a href=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675947664\/0b93cce309f44555c54de312\/Appearance-Customize.png\" target=\"_blank\" rel=\"noreferrer nofollow noopener\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675947664\/0b93cce309f44555c54de312\/Appearance-Customize.png\" alt=\"appearance\" width=\"550\" height=\"304\" \/><\/a><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>Each theme exposes different customization options. So try and find one that looks like it may have a selection palette for the font color. As you can see below, the Genesis child theme I&#8217;m currently using does <i>not<\/i> have this option:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-image intercom-interblocks-align-left\"><a href=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675948119\/7827d5076258b3a1912a21d8\/No-Font-Color-Option.png\" target=\"_blank\" rel=\"noreferrer nofollow noopener\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675948119\/7827d5076258b3a1912a21d8\/No-Font-Color-Option.png\" alt=\"No Font Color Option\" width=\"550\" height=\"319\" \/><\/a><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>So in the absence of this, we&#8217;re going to change the color via CSS.<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-subheading intercom-interblocks-align-left\">\n<h2 id=\"h_0950877054\">Step 2: Open the Font Inspection Panel for your Website<\/h2>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>Open your website in a window with the font you want to change. Now right-click on any font item and choose &#8220;Inspect&#8221; for Chrome or &#8220;Inspect Element&#8221; in Firefox as shown here:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-image intercom-interblocks-align-left\"><a href=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675948457\/8ca48caec3aeeeb7eb00ba2c\/Inspect-the-Font-Element.png\" target=\"_blank\" rel=\"noreferrer nofollow noopener\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675948457\/8ca48caec3aeeeb7eb00ba2c\/Inspect-the-Font-Element.png\" alt=\"Inspect the Font Element\" width=\"550\" height=\"365\" \/><\/a><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>This will open two new panes side by side within the window. Each line represents the next element. Make sure that the font you want to change is selected as shown here:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-image intercom-interblocks-align-left\"><a href=\"https:\/\/downloads.intercomcdn.com\/i\/o\/683209793\/6eb07adddb127830a0230a65\/Make-Sure-That-Text-is-Highlighted.png\" target=\"_blank\" rel=\"noreferrer nofollow noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/downloads.intercomcdn.com\/i\/o\/683209793\/6eb07adddb127830a0230a65\/Make-Sure-That-Text-is-Highlighted.png\" alt=\"insepect\" width=\"550\" height=\"306\" \/><\/a><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>This will display the corresponding styles for that element in the other pane. We need to find the one that applies to our theme. If you&#8217;re using WordPress, a good rule of thumb for selecting the font is to look for this rule:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-code\">\n<pre>.entry-content p<\/pre>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>The class &#8220;entry-content&#8221; is a standard selector for WordPress post and page content and &#8220;p&#8221; refers to the paragraph style. As you can see below, it&#8217;s available in the style pane:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-image intercom-interblocks-align-left\"><a href=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675949374\/969acce84f52cebf103a47b6\/Use-the-Color-Property.png\" target=\"_blank\" rel=\"noreferrer nofollow noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675949374\/969acce84f52cebf103a47b6\/Use-the-Color-Property.png\" alt=\"Use the Color Property\" width=\"550\" height=\"368\" \/><\/a><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>Now click below any existing style within the brackets {} and a new line will appear. Type the following:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-code\">\n<pre>color: blue<\/pre>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>Replace <b>blue<\/b> with any color you want. Alternatively, just press tab after typing &#8220;color&#8221; and you&#8217;ll see a drop-down list of available colors. You can even specify the RGB or the hex values if you know what you&#8217;re doing.<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-subheading intercom-interblocks-align-left\">\n<h2 id=\"h_c423177cfd\">Step 3: Preview the Colors in Real Time<\/h2>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>As you make changes to the style, the text on the page will change in real time. I love this functionality because it allows me to see exactly what I&#8217;ll get when I insert a new style. For example, here&#8217;s what it looks like when I change the text color to blue:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-image intercom-interblocks-align-left\"><a href=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675949680\/52f2fd13b4f3b383e3239aec\/Check-Changes-in-Real-Time.png\" target=\"_blank\" rel=\"noreferrer nofollow noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675949680\/52f2fd13b4f3b383e3239aec\/Check-Changes-in-Real-Time.png\" alt=\"Check Changes in Real Time\" width=\"550\" height=\"328\" \/><\/a><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>It hasn&#8217;t really changed. This is just for me. If you reload the page, it&#8217;ll go back to what it was. So once you&#8217;ve found a color that you like, copy the entire rule from the browser, right click, and hit copy like this:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-image intercom-interblocks-align-left\"><a href=\"https:\/\/downloads.intercomcdn.com\/i\/o\/683882453\/851294198a3b05311037f456\/Copy-Rules.png\" target=\"_blank\" rel=\"noreferrer nofollow noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/downloads.intercomcdn.com\/i\/o\/683882453\/851294198a3b05311037f456\/Copy-Rules.png\" alt=\"copy rules\" width=\"550\" height=\"321\" \/><\/a><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>Now we insert the CSS style.<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-subheading intercom-interblocks-align-left\">\n<h2 id=\"h_d1cd133733\">Step 4: Inserting the CSS Style into WordPress<\/h2>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>In your WordPress dashboard, go to Appearance -&gt; <a href=\"https:\/\/wordpress.com\/support\/editing-css\/\" target=\"_blank\" rel=\"noopener\">Edit CSS<\/a> as shown here:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-image intercom-interblocks-align-left\"><a href=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675950375\/372a9d92f77ef406b2e02c9d\/Edit-CSS.png\" target=\"_blank\" rel=\"noreferrer nofollow noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675950375\/372a9d92f77ef406b2e02c9d\/Edit-CSS.png\" alt=\"Edit CSS\" width=\"550\" height=\"293\" \/><\/a><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>This will open a new window displaying your custom CSS for this particular theme. It might already have some content inside it. Just move to the very end and paste the style you copied from Step 3. Also, remove all lines inside it except for the &#8220;color&#8221; line as shown here:<\/p>\n<\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\"><\/div>\n<div class=\"intercom-interblocks-image intercom-interblocks-align-left\"><a href=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675951106\/18c0c8ab5de035d4999e5161\/Insert-CSS-Rule-and-Save.png\" target=\"_blank\" rel=\"noreferrer nofollow noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/downloads.intercomcdn.com\/i\/o\/675951106\/18c0c8ab5de035d4999e5161\/Insert-CSS-Rule-and-Save.png\" alt=\"CSS color\" width=\"550\" height=\"331\" \/><\/a><\/div>\n<div class=\"intercom-interblocks-paragraph no-margin intercom-interblocks-align-left\">\n<p>The preview of your site on the right-hand side should change as well. If it&#8217;s what you expect, then save your changes by clicking the blue &#8220;Publish&#8221; button at the top, and you&#8217;re done. You&#8217;ve successfully changed the WordPress font color using CSS styles!<\/p>\n<\/div>\n<\/article>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"intercom-reaction-picker -mb-4 -ml-4 -mr-4 mt-6 rounded-card sm:-mb-2 sm:-ml-1 sm:-mr-1 sm:mt-8\">\n<h4><\/h4>\n<h4><strong>More to know about us:<\/strong><\/h4>\n<h4><strong>Pure Cloud Hosting:<\/strong><\/h4>\n<p>At the core of <a href=\"https:\/\/www.shricloud.com\/\">Shricloud&#8217;s<\/a> offerings lies its pure cloud hosting infrastructure, a cutting-edge solution designed to deliver unmatched performance, scalability, and reliability.<\/p>\n<p>Unlike traditional hosting services that rely on physical servers, Shricloud leverages cloud technology to provide a dynamic and flexible hosting environment.<\/p>\n<p>This ensures that websites hosted on Shricloud enjoy lightning-fast load times, seamless scalability to accommodate fluctuations in traffic, and robust redundancy to minimize downtime.<\/p>\n<p>With Shricloud&#8217;s pure cloud hosting, users can rest assured that their websites are supported by a resilient infrastructure that adapts to their evolving needs.<\/p>\n<\/div>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[7],"manual_kb_tag":[13,71],"class_list":["post-3177","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-wordpress","manual_kb_tag-shricloud","manual_kb_tag-how-to-change-the-font-color"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb\/3177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/comments?post=3177"}],"version-history":[{"count":2,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb\/3177\/revisions"}],"predecessor-version":[{"id":3792,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb\/3177\/revisions\/3792"}],"wp:attachment":[{"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/media?parent=3177"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manualknowledgebasecat?post=3177"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb_tag?post=3177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}