How to Edit CSS in the Divi Builder
Step 1: Start by adding a new module to your page, open the module and then click on the CSS tab. This will take you to the Style Editor in the WP Customizer. You can then start creating your CSS by typing in the large field where it says “Default.”
Step 2: Before you post any changes, I highly recommend going to the “Preview Styles” section at the top of the Style Editor. Here, you can change the preview of your edits to see how they will look on different sized screens.
Step 3: Next, you want to click on the Divi > Theme Options link below. This will take you to the Divi Theme Customizer. From here you can play around with the CSS preview under the “Custom CSS” tab. This is very helpful in getting a real sense of how your changes will appear.
Step 4: Once you are satisfied with what you have done, click on the “Save and Publish” button. This will take you back to your editing screen where you can save all the CSS changes.
Step 5: You can take a look at the CSS for the module you just edited by selecting the “Live View” option at the top of the page.
Step 6: Next, you can change the CSS in the widget section of any module. Load the module you want to edit, then click on “Custom CSS” under the Appearance tab. You will be able to access the code here as well.
Step 7: Sometimes you will want to change the CSS for an entire row or a column. You can edit the CSS for these elements by first clicking on the grey CSS selector at the top of the row or column and then editing the CSS code to your liking.
Step 8: Another way to edit CSS on a per row or column basis is by first clicking on the grey CSS selector at the top of the row or column. From there, you can select the row or column by clicking on the red highlighted numbers next to “Select Row” or “Select Column”.
Step 9: You can add custom CSS to the individual modules. In the module you want to edit, click on “Layout Options” underneath the module title at the top of the module and then click the “CSS” tab on the popup that appears. You can put your custom code in here.
Step 10: To add custom CSS to an entire section, click on the grey CSS selector next to the section title at the top of the section. You will then see the name of the section, such as “Footer 1”. Select the section name and you will be able edit the CSS for the entire section using the same steps outlined above.