{"id":29157,"date":"2023-10-13T19:04:37","date_gmt":"2023-10-13T14:04:37","guid":{"rendered":"https:\/\/mcstarters.com\/blog\/?p=29157"},"modified":"2024-01-10T17:55:45","modified_gmt":"2024-01-10T12:55:45","slug":"add-custom-css-to-divi","status":"publish","type":"post","link":"https:\/\/mcstarters.com\/blog\/add-custom-css-to-divi\/","title":{"rendered":"3 ways to Add Custom CSS to Divi"},"content":{"rendered":"\n<p>Have you found a way to add Custom CSS to Divi?<\/p>\n\n\n\n<p>Divi, a popular WordPress theme by Elegant Themes, offers a wide range of design possibilities. However, sometimes you may want to further customize your site&#8217;s appearance beyond what the built-in options provide. This is where custom CSS comes into play. <\/p>\n\n\n\n<p>In this guide, we&#8217;ll walk you through the steps to add Custom CSS to Divi page builders, enabling you to achieve the unique design you desire.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add Custom CSS to Divi in 2 ways<\/h2>\n\n\n\n<p>Here are 3 ways to add Custom CSS to Divi.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method 1: Using the Divi Theme Customizer<\/strong> (Step by step)<\/h3>\n\n\n\n<p class=\"step\"><strong>Step 1:<\/strong> Log in to your WordPress dashboard. Go to &#8220;Appearance&#8221; and select &#8220;Customize.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"356\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2023\/10\/Using-the-Divi-Theme-Customizer.jpg\" alt=\"Using the Divi Theme Customizer\" class=\"wp-image-29188\" style=\"aspect-ratio:1.3623595505617978;width:434px;height:auto\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 2:<\/strong> In the Customizer, find and click on &#8220;Additional CSS.&#8221; Add your custom CSS code in the provided text box.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"349\" height=\"752\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2023\/10\/Using-the-Divi-Theme-Customizer-1.jpg\" alt=\"Using the Divi Theme Customizer\" class=\"wp-image-29190\" style=\"aspect-ratio:0.4640957446808511;width:429px;height:auto\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 3:<\/strong> Preview your changes and click &#8220;Publish&#8221; to save them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method 2: Using the Divi Theme Options<\/strong> (Step by step)<\/h3>\n\n\n\n<p class=\"step\"><strong>Step 1:<\/strong> Log in to your WordPress dashboard. Navigate to &#8220;Divi&#8221; in the sidebar. Click on &#8220;Theme Options.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"481\" height=\"327\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2023\/10\/Using-the-Divi-Theme-Options.jpg\" alt=\"Using the Divi Theme Options\" class=\"wp-image-29183\" style=\"aspect-ratio:1.470948012232416;width:361px;height:auto\" title=\"\"><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 2:<\/strong> Scroll down to the &#8220;Custom CSS&#8221; section. Enter your custom CSS code in the box.<\/p>\n\n\n\n<p class=\"step\"><strong>Step 3:<\/strong> Save your changes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1512\" height=\"661\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2023\/10\/Using-the-Divi-Theme-Options-1.jpg\" alt=\"Using the Divi Theme Options\" class=\"wp-image-29184\" style=\"aspect-ratio:2.287443267776097;width:460px;height:auto\" title=\"\" srcset=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2023\/10\/Using-the-Divi-Theme-Options-1.jpg 1512w, https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2023\/10\/Using-the-Divi-Theme-Options-1-768x336.jpg 768w\" sizes=\"auto, (max-width: 1512px) 100vw, 1512px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Add Custom CSS to a Single Page in Divi<\/strong><\/h3>\n\n\n\n<p class=\"step\"><strong>Step 1:<\/strong> Log in to your WordPress dashboard and edit the desired page. Insert a new Divi section or module, or edit an existing one. <\/p>\n\n\n\n<p class=\"step\"><strong>Step 2:<\/strong> In the section or module settings, navigate to the &#8220;Advanced&#8221; tab. Add your custom CSS code in the &#8220;Custom CSS&#8221; field to style that specific section or module.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1141\" height=\"818\" src=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2023\/10\/Add-Custom-CSS-to-a-Single-Page-in-Divi.jpg\" alt=\"Add Custom CSS to a Single Page in Divi\" class=\"wp-image-29194\" style=\"aspect-ratio:1.3948655256723717;width:445px;height:auto\" title=\"\" srcset=\"https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2023\/10\/Add-Custom-CSS-to-a-Single-Page-in-Divi.jpg 1141w, https:\/\/mcstarters.com\/blog\/wp-content\/uploads\/2023\/10\/Add-Custom-CSS-to-a-Single-Page-in-Divi-768x551.jpg 768w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/figure>\n\n\n\n<p class=\"step\"><strong>Step 3: <\/strong>Save the changes and update the page to see the custom styles applied.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Tips for Effective Custom CSS in Divi:<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Use a Child Theme:<\/strong> If you&#8217;re making extensive CSS customizations, it&#8217;s advisable to use a child theme to prevent your changes from being overwritten during theme updates.<\/li>\n\n\n\n<li><strong>Inspect Element:<\/strong> To identify specific elements to style, right-click on your site and select &#8220;Inspect&#8221; to open your browser&#8217;s developer tools.<\/li>\n\n\n\n<li><strong>Test Your Code:<\/strong> Always test your custom CSS on a staging site or use the built-in preview function to avoid disrupting your live website.<\/li>\n<\/ol>\n\n\n\n<p>Adding custom CSS to Divi can significantly enhance your site&#8217;s design and make it stand out. Whether you want to change colors, fonts, or layouts, following these simple steps will help you achieve the look you desire. With custom CSS, your Divi-powered website can be as unique as your creative vision.<\/p>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1697189338486\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>What is the advantage of using Divi for website design?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Divi is a user-friendly WordPress theme and page builder that simplifies the website design process with its drag-and-drop interface and customization options.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1697189354128\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Why should I add custom CSS to my Divi website?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Adding custom CSS allows you to tailor the design of your Divi website to match your unique style and branding.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Have you found a way to add Custom CSS to&#8230;<\/p>\n","protected":false},"author":2,"featured_media":29187,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6],"tags":[488,491,315],"class_list":["post-29157","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-divi","tag-divi-guide","tag-divi-tips","tag-elementor-custom-css-guide"],"_links":{"self":[{"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/posts\/29157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/comments?post=29157"}],"version-history":[{"count":0,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/posts\/29157\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/media\/29187"}],"wp:attachment":[{"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/media?parent=29157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/categories?post=29157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mcstarters.com\/blog\/wp-json\/wp\/v2\/tags?post=29157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}