{"id":3821,"date":"2018-12-21T10:24:59","date_gmt":"2018-12-21T16:24:59","guid":{"rendered":"https:\/\/wpengine.com\/blog\/customize-theme-css\/"},"modified":"2018-12-21T10:24:59","modified_gmt":"2018-12-21T16:24:59","slug":"customize-theme-css","status":"publish","type":"post","link":"https:\/\/wpengine.com\/blog\/customize-theme-css\/","title":{"rendered":"Customizing WordPress Themes with CSS"},"content":{"rendered":"<p>Themes are one of WordPress\u2019 biggest selling points. The <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"internal\" href=\"https:\/\/wpengine.com\/blog\/dos-donts-wordpress-theme\/\" target=\"_blank\" rel=\"noreferrer noopener\">right theme<\/a> can make your website really stand out. However, you\u2019ll usually want to make at least a few custom changes to whatever theme you use, in order to get everything just right.<\/p>\n\n\n\n<p>In most cases, you\u2019ll need to use <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"outbound\" href=\"https:\/\/www.w3schools.com\/css\/css_intro.asp\" target=\"_blank\" rel=\"noreferrer noopener\">Cascading Style Sheets (CSS)<\/a> to customize the style of your theme. With WordPress, there are several ways you can do this. Even if you don\u2019t have any experience dealing with code, you can easily add your own CSS tweaks to the WordPress theme.<\/p>\n\n\n\n<p>In this guide, we\u2019ll take a look at three methods you can use to add and edit custom CSS in WordPress. We\u2019ll walk you through the entire process, and talk about when it makes sense to use each technique. Let\u2019s get started!<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc-add-custom-css-with-theme-customizer\">Add Custom CSS with Theme Customizer<\/h2>\n\n\n\n<p><strong>Experience Level:<\/strong> Beginner<\/p>\n\n\n\n<p>The <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"outbound\" href=\"https:\/\/premium.wpmudev.org\/blog\/wordpress-theme-customizer-guide\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Customizer<\/a> enables you to make changes to your website\u2019s design, and preview them in real time. To access it, log in to your WordPress dashboard and navigate to the <em>Appearance &gt; Customize<\/em> tab:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-1.png\" alt=\"Add Custom CSS with Theme Customizer\" class=\"wp-image-1325\"><\/figure>\n\n\n\n<p>There are a lot of settings you can play around with here. However, right now look for the <em>Additional CSS<\/em> tab. Once you click on it, a new section will open, with a field where you can add custom CSS:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-2.png\" alt=\"customize theme with CSS\" class=\"wp-image-1326\"><\/figure>\n\n\n\n<p>If you\u2019re new to CSS, you can read more about how to use it with WordPress in the <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"outbound\" href=\"https:\/\/codex.wordpress.org\/CSS\" target=\"_blank\" rel=\"noreferrer noopener\">official Codex<\/a>. There are also a lot of other excellent resources on the <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"outbound\" href=\"https:\/\/www.w3schools.com\/w3css\/defaulT.asp\" target=\"_blank\" rel=\"noreferrer noopener\">basics of CSS<\/a>, and we recommend checking out a few of them.<\/p>\n\n\n\n<p>CSS can get a little complex, but there\u2019s plenty you can accomplish just by knowing the basics. The great thing about using the WordPress Customizer is that it enables you to instantly preview any changes you make using CSS. That means this approach is perfect for learning how CSS works.<\/p>\n\n\n\n<p><strong>Note<\/strong>: The changes you make using the Customizer won\u2019t persist if you change themes. Plus, updating your current theme may wipe out your custom CSS. So we don\u2019t recommend this approach if you intend to make a lot of changes or in-between theme options.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc-add-custom-css-with-a-plugin\">Add Custom CSS with a Plugin<\/h2>\n\n\n\n<p><strong>Experience Level:<\/strong> Beginner to Intermediate<\/p>\n\n\n\n<p>The above method works well, but you can expand your options by using plugins. In the following sections, we\u2019ll explore three plugins that enable you to customize your WordPress theme.<\/p>\n\n\n\n<p><strong>Note<\/strong>: The experience level for editing WordPress CSS using plugins will depend on which tool you use. We recommend testing them all out, and seeing which one feels the most comfortable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"toc-advanced-css-editor\">Advanced CSS Editor<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-3.png\" alt=\"custom css plugin\" class=\"wp-image-1327\"><\/figure>\n\n\n\n<p>If you like using the WordPress Customizer, but you wish it offered more options, this plugin is worth a look. With <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"outbound\" href=\"https:\/\/wordpress.org\/plugins\/advanced-css-editor\/\" target=\"_blank\" rel=\"noreferrer noopener\">Advanced CSS Editor<\/a>, you\u2019ll be able to add custom CSS for desktops, phones, and tablets. This way, you can fine-tune the way your website looks on each type of device.<\/p>\n\n\n\n<p>After installing the WordPress plugin, navigate to the <em>Appearance &gt; Customizer<\/em> tab in your dashboard. You should see a new <em>Advanced CSS Editor<\/em> option, providing you with access to multiple editors for each type of device:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-4.png\" alt=\"customize css with plugin\" class=\"wp-image-1328\"><\/figure>\n\n\n\n<p>All you have to do is add the custom CSS you want, test to ensure that it\u2019s working correctly, and save the changes to your theme.<\/p>\n\n\n\n<p><strong>Pros:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You get full control over how your website looks across all devices.<\/li><li>You can still edit your theme through the Customizer.<\/li><\/ul>\n\n\n\n<p><strong>Cons:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Adding custom CSS for multiple types of devices can be a lot of work.<\/li><\/ul>\n\n\n\n<p><strong>Average Rating: <\/strong>4.5\/5<\/p>\n\n\n\n<p><strong>Note:<\/strong> This plugin also includes an option to minify your CSS, which can help decrease your site\u2019s loading times.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"toc-modular-custom-css\">Modular Custom CSS<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-5.png\" alt=\"modular css plugin\" class=\"wp-image-1329\"><\/figure>\n\n\n\n<p><a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"outbound\" href=\"https:\/\/wordpress.org\/plugins\/modular-custom-css\/\" target=\"_blank\" rel=\"noreferrer noopener\">Modular Custom CSS<\/a> enables you to add CSS to your theme through the WordPress Customizer. However, it also adds a few very welcome features to the default CSS editor. To be more specific, this plugin lets you create custom CSS for individual themes, and make global changes that persist across any theme you set up:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-6.png\" alt=\"wordpress css\" class=\"wp-image-1330\"><\/figure>\n\n\n\n<p>To access these fields, you need to return to the <em>Appearance &gt; Customizer &gt; Additional CSS<\/em> section. Once you\u2019re there, you can start making changes.<\/p>\n\n\n\n<p><strong>Pros:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You can add custom CSS for specific themes only, and make changes that will persist even if you switch themes.<\/li><\/ul>\n\n\n\n<p><strong>Cons:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u2018Global\u2019 CSS may not play nicely with every theme, so you need to be careful when you switch to a new one.<\/li><\/ul>\n\n\n\n<p><strong>Average Rating:<\/strong> 5\/5<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"toc-siteorigin-css\">SiteOrigin CSS<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-7.png\" alt=\"siteorigin css plugin\" class=\"wp-image-1331\"><\/figure>\n\n\n\n<p><a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"outbound\" href=\"https:\/\/wordpress.org\/plugins\/so-css\/\" target=\"_blank\" rel=\"noreferrer noopener\">SiteOrigin CSS<\/a> is a departure from the plugins we\u2019ve talked about so far. Instead of adding new features to the Customizer, it offers a standalone WordPress CSS editor. You can access this new editor by navigating to the <em>Appearance &gt; Custom CSS<\/em> tab after installing the plugin:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-8.png\" alt=\"wordpress css editor\" class=\"wp-image-1332\"><\/figure>\n\n\n\n<p>At first glance, this CSS editor doesn\u2019t look like much. However, if you click on the eye icon, you\u2019ll launch a visual editor. Here, you can click on any element of your theme and easily edit it using CSS:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-9.png\" alt=\"wordpress css plugin\" class=\"wp-image-1333\"><\/figure>\n\n\n\n<p>The SiteOrigin CSS plugin can be a bit overwhelming at first. However, it can also save you a lot of time, since you won\u2019t have to hunt around for the correct selectors. All you have to do is click on the element you want to modify, and then add whatever CSS code you like.<\/p>\n\n\n\n<p><strong>Pros:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You can edit any element you want on your website by clicking on it.<\/li><li>This plugin enables you to change some simple aspects of your theme without having to use CSS, such as its fonts.<\/li><\/ul>\n\n\n\n<p><strong>Cons:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It can be hard to keep track of all the custom CSS you add to your theme if you tweak multiple elements.<\/li><\/ul>\n\n\n\n<p><strong>Average Rating:<\/strong> 4.9\/5<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc-edit-css-with-child-theme-stylesheet\">Edit CSS with Child Theme Stylesheet<\/h2>\n\n\n\n<p><strong>Experience Level:<\/strong> Advanced<\/p>\n\n\n\n<p>A child theme is a copy of an existing theme (known as the \u2018parent\u2019). Child themes enable you to make changes to your WordPress website safely. That\u2019s because you can still update the parent theme, without losing any of your custom CSS tweaks. Plus, if you add any CSS that impacts your site negatively, you can simply disable the child theme.<\/p>\n\n\n\n<p>Any custom CSS you add to a child theme will override its parent\u2019s styles. However, for this to work you\u2019ll need to know how to <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"internal\" href=\"https:\/\/wpengine.com\/resources\/create-child-theme-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">create a child theme<\/a> in the first place. Once your \u2018child\u2019 is ready, you can access its files using an FTP client <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"outbound\" href=\"https:\/\/codex.wordpress.org\/Using_FileZilla\" target=\"_blank\" rel=\"noreferrer noopener\">such as FileZilla<\/a>.<\/p>\n\n\n\n<p>After you connect to your website via FTP, you\u2019ll want to locate your root folder, which is often called <em>public_html<\/em> or <em>www<\/em>, or is named after your website:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-10.png\" alt=\"custom css wordpress\" class=\"wp-image-1334\"><\/figure>\n\n\n\n<p>Next, navigate to the <em>wp-content\/themes<\/em> directory. There, you\u2019ll find individual folders for all of your themes, including the child you set up. Open the child theme\u2019s folder, and look for the <em>style.css<\/em> file within:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-11.png\" alt=\"customize wordpress theme\" class=\"wp-image-1335\"><\/figure>\n\n\n\n<p>Right-click on the theme file, and select the <em>View\/Edit<\/em> option. This will open the file using your default text editor, enabling you to make changes to it. That means you get to add custom CSS to your theme, only now you\u2019re using a full text editor instead of the WordPress Customizer.<\/p>\n\n\n\n<p>When you\u2019re done, save the changes to the file and close the editor. Then, you can visit your website to see if the changes you made worked as intended. If they didn\u2019t, you can return to your <em>style.css<\/em> file and keep tweaking its CSS.<\/p>\n\n\n\n<p><strong>Note:<\/strong> This is a high-level overview, and there\u2019s a lot more to setting up and using a child theme. We\u2019d suggest proceeding carefully if you\u2019re new to this process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc-custom-css-with-theme-customizer-vs-css-plugins-vs\">Custom CSS with Theme Customizer vs. CSS Plugins vs. Child Theme Stylesheet<\/h2>\n\n\n\n<p>As you can see, you have a lot of options when it comes to adding custom CSS to WordPress. However, choosing the right approach can be a challenge. Let\u2019s break down the choices, according to your experience level with the platform and with CSS in general:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>You\u2019re new to WordPress and not accustomed to using CSS.<\/strong> In this scenario, your best bet is to stick with the WordPress Customizer. With it, you\u2019ll be able to preview changes instantly and get used to using CSS.<\/li><li><strong>You have some experience with WordPress and CSS.<\/strong> At this stage, you\u2019ll want more options than the default Customizer provides. Therefore, we recommend using plugins that improve its functionality to edit custom CSS in WordPress.<\/li><li><strong>You\u2019re a WordPress veteran who\u2019s comfortable using CSS.<\/strong> If you\u2019re not intimidated by CSS and code snippets, you\u2019ll probably want to set up a child theme and edit its stylesheet manually.<\/li><\/ul>\n\n\n\n<p>Keep in mind that these are just guidelines, and you should feel free to use whatever approach feels most comfortable to you.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc-enhance-the-digital-experience-with-a-great-design-top\">Enhance the Digital Experience with a Great Design &amp; Top-Notch Hosting<\/h2>\n\n\n\n<p>Your website\u2019s design plays a significant role in what visitors think about it. With WordPress you get access to thousands of themes, and you can edit any of them using custom CSS.<\/p>\n\n\n\n<p>However, running a successful website isn\u2019t just about looks. You\u2019ll also need <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"internal\" href=\"https:\/\/wpengine.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress web hosting<\/a> that provides excellent performance, security, and support. With WP Engine, you\u2019ll get access to all those features with <a data-analytics-action-type=\"link\" data-analytics-link-location=\"Post Content\" data-analytics-link-type=\"internal\" href=\"https:\/\/wpengine.com\/plans\/\" target=\"_blank\" rel=\"noreferrer noopener\">every single one of our plans<\/a>!<\/p>","protected":false},"excerpt":{"rendered":"<p>Themes are one of WordPress\u2019 biggest selling points. The right theme can make your website really stand out. However, you\u2019ll usually want to make at least a few custom changes to whatever theme you use, in order to get everything just right. In most cases, you\u2019ll need to use Cascading Style Sheets (CSS) to customize [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":1324,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"mediapress_draft_name":"","_mediapress_is_draft_copy":false,"_time_to_read":8,"footnotes":""},"audience":[],"blog-category":[121],"buyer-stage":[],"company-and-culture":[],"content-type":[54],"location":[],"persona":[106],"product":[],"topic":[95],"use-cases":[],"class_list":["post-3821","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","blog-category-best-practices","content-type-blog","persona-developer","topic-development"],"acf":{"hero_image_alt_text":"","featured_on_hub_page":false,"featured_on_tag_page":false,"featured_on_category_page":false,"wp_engine_pick":false,"display_author_bio":false,"taxonomy_selector":{"":null,"taxonomy-audience":false,"taxonomy-buyer-stage":false,"taxonomy-company-and-culture":false,"taxonomy-content-type":[54],"taxonomy-location":false,"taxonomy-persona":[106],"taxonomy-product":false,"taxonomy-topic":[95],"taxonomy-use-cases":false}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Add Custom CSS to a WordPress Theme | WP Engine\u00ae<\/title>\n<meta name=\"description\" content=\"You can add and edit custom CSS in WordPress themes for more creative freedom to your site. Learn how to create custom CSS from beginner to expert level.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpengine.com\/blog\/customize-theme-css\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Custom CSS to a WordPress Theme | WP Engine\u00ae\" \/>\n<meta property=\"og:description\" content=\"You can add and edit custom CSS in WordPress themes for more creative freedom to your site. Learn how to create custom CSS from beginner to expert level.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/blog\/customize-theme-css\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-21T16:24:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-header.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1\" \/>\n\t<meta property=\"og:image:height\" content=\"1\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Oliver Whitham\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@seochemist\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oliver Whitham\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/\"},\"author\":{\"name\":\"Oliver Whitham\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/#\\\/schema\\\/person\\\/e92aef0f1189e5434ca4358041edd4ec\"},\"headline\":\"Customizing WordPress Themes with CSS\",\"datePublished\":\"2018-12-21T16:24:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/\"},\"wordCount\":1556,\"publisher\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpengine.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/custom-theme-css-header.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/\",\"url\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/\",\"name\":\"How to Add Custom CSS to a WordPress Theme | WP Engine\u00ae\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpengine.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/custom-theme-css-header.png\",\"datePublished\":\"2018-12-21T16:24:59+00:00\",\"description\":\"You can add and edit custom CSS in WordPress themes for more creative freedom to your site. Learn how to create custom CSS from beginner to expert level.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wpengine.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/custom-theme-css-header.png\",\"contentUrl\":\"https:\\\/\\\/wpengine.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/custom-theme-css-header.png\",\"caption\":\"How to Customize Your WordPress Theme\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/customize-theme-css\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpengine.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Customizing WordPress Themes with CSS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/#website\",\"url\":\"https:\\\/\\\/wpengine.com\\\/\",\"name\":\"WP Engine\u00ae\",\"description\":\"Managed Hosting for WordPress\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpengine.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/#organization\",\"name\":\"WP Engine\",\"url\":\"https:\\\/\\\/wpengine.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wpengine.com\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/WPEngine_OGImage-1.webp\",\"contentUrl\":\"https:\\\/\\\/wpengine.com\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/WPEngine_OGImage-1.webp\",\"width\":1200,\"height\":630,\"caption\":\"WP Engine\"},\"image\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/wpengine\\\/\",\"https:\\\/\\\/x.com\\\/wpengine\",\"https:\\\/\\\/www.instagram.com\\\/wpengine\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpengine\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCJeAEAxX69v24CUBZ0WBYSg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/#\\\/schema\\\/person\\\/e92aef0f1189e5434ca4358041edd4ec\",\"name\":\"Oliver Whitham\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/335b023e9e3436428700b32d6cf6c24136466235c9cb1c3134f65f604bda491b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/335b023e9e3436428700b32d6cf6c24136466235c9cb1c3134f65f604bda491b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/335b023e9e3436428700b32d6cf6c24136466235c9cb1c3134f65f604bda491b?s=96&d=mm&r=g\",\"caption\":\"Oliver Whitham\"},\"description\":\"Oliver Whitham is an Englishman in Austin, helping get the word out about WP Engine to the world!\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/oliverwhitham\",\"https:\\\/\\\/x.com\\\/seochemist\"],\"url\":\"https:\\\/\\\/wpengine.com\\\/blog\\\/author\\\/oliver-whitham\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Custom CSS to a WordPress Theme | WP Engine\u00ae","description":"You can add and edit custom CSS in WordPress themes for more creative freedom to your site. Learn how to create custom CSS from beginner to expert level.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpengine.com\/blog\/customize-theme-css\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Custom CSS to a WordPress Theme | WP Engine\u00ae","og_description":"You can add and edit custom CSS in WordPress themes for more creative freedom to your site. Learn how to create custom CSS from beginner to expert level.","og_url":"https:\/\/wpengine.com\/blog\/customize-theme-css\/","og_site_name":"WP Engine\u00ae","article_publisher":"https:\/\/www.facebook.com\/wpengine\/","article_published_time":"2018-12-21T16:24:59+00:00","og_image":[{"url":"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-header.png","width":1,"height":1,"type":"image\/png"}],"author":"Oliver Whitham","twitter_card":"summary_large_image","twitter_creator":"@seochemist","twitter_site":"@wpengine","twitter_misc":{"Written by":"Oliver Whitham","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/#article","isPartOf":{"@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/"},"author":{"name":"Oliver Whitham","@id":"https:\/\/wpengine.com\/#\/schema\/person\/e92aef0f1189e5434ca4358041edd4ec"},"headline":"Customizing WordPress Themes with CSS","datePublished":"2018-12-21T16:24:59+00:00","mainEntityOfPage":{"@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/"},"wordCount":1556,"publisher":{"@id":"https:\/\/wpengine.com\/#organization"},"image":{"@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/#primaryimage"},"thumbnailUrl":"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-header.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/","url":"https:\/\/wpengine.com\/blog\/customize-theme-css\/","name":"How to Add Custom CSS to a WordPress Theme | WP Engine\u00ae","isPartOf":{"@id":"https:\/\/wpengine.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/#primaryimage"},"image":{"@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/#primaryimage"},"thumbnailUrl":"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-header.png","datePublished":"2018-12-21T16:24:59+00:00","description":"You can add and edit custom CSS in WordPress themes for more creative freedom to your site. Learn how to create custom CSS from beginner to expert level.","breadcrumb":{"@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/blog\/customize-theme-css\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/#primaryimage","url":"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-header.png","contentUrl":"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/12\/custom-theme-css-header.png","caption":"How to Customize Your WordPress Theme"},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/blog\/customize-theme-css\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/"},{"@type":"ListItem","position":2,"name":"Customizing WordPress Themes with CSS"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/#website","url":"https:\/\/wpengine.com\/","name":"WP Engine\u00ae","description":"Managed Hosting for WordPress","publisher":{"@id":"https:\/\/wpengine.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wpengine.com\/#organization","name":"WP Engine","url":"https:\/\/wpengine.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/#\/schema\/logo\/image\/","url":"https:\/\/wpengine.com\/wp-content\/uploads\/2025\/09\/WPEngine_OGImage-1.webp","contentUrl":"https:\/\/wpengine.com\/wp-content\/uploads\/2025\/09\/WPEngine_OGImage-1.webp","width":1200,"height":630,"caption":"WP Engine"},"image":{"@id":"https:\/\/wpengine.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/wpengine\/","https:\/\/x.com\/wpengine","https:\/\/www.instagram.com\/wpengine\/","https:\/\/www.linkedin.com\/company\/wpengine\/","https:\/\/www.youtube.com\/channel\/UCJeAEAxX69v24CUBZ0WBYSg"]},{"@type":"Person","@id":"https:\/\/wpengine.com\/#\/schema\/person\/e92aef0f1189e5434ca4358041edd4ec","name":"Oliver Whitham","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/335b023e9e3436428700b32d6cf6c24136466235c9cb1c3134f65f604bda491b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/335b023e9e3436428700b32d6cf6c24136466235c9cb1c3134f65f604bda491b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/335b023e9e3436428700b32d6cf6c24136466235c9cb1c3134f65f604bda491b?s=96&d=mm&r=g","caption":"Oliver Whitham"},"description":"Oliver Whitham is an Englishman in Austin, helping get the word out about WP Engine to the world!","sameAs":["https:\/\/www.linkedin.com\/in\/oliverwhitham","https:\/\/x.com\/seochemist"],"url":"https:\/\/wpengine.com\/blog\/author\/oliver-whitham\/"}]}},"mediapress_workflow_parent_id":null,"_links":{"self":[{"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/posts\/3821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/comments?post=3821"}],"version-history":[{"count":0,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/posts\/3821\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/media\/1324"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/media?parent=3821"}],"wp:term":[{"taxonomy":"audience","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/audience?post=3821"},{"taxonomy":"blog-category","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/blog-category?post=3821"},{"taxonomy":"buyer-stage","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/buyer-stage?post=3821"},{"taxonomy":"company-and-culture","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/company-and-culture?post=3821"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/content-type?post=3821"},{"taxonomy":"location","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/location?post=3821"},{"taxonomy":"persona","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/persona?post=3821"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/product?post=3821"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/topic?post=3821"},{"taxonomy":"use-cases","embeddable":true,"href":"https:\/\/wpengine.com\/wp-json\/wp\/v2\/use-cases?post=3821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}