Divi + WordPress Supercharged Setup Guide (2025 Edition)

DIVI + WORDPRESS SUPERCHARGED SETUP GUIDE (2025 EDITION)

Stack: WordPress + Divi + SiteGround + Rank Math + Wordfence

Tool: Divi Children plugin for child theme creation

1. WordPress Installation on SiteGround

  • Install WordPress using SiteGround’s App Installer
  • Enable HTTPS + Force HTTPS in Site Tools > Security > SSL Manager
  • In Site Tools > Devs > PHP Manager: Set PHP to 8.1 or 8.2
  • Delete default post, page, and comment
  • Settings > General:
    • Site title and tagline
    • Set timezone
    • Set week start to Monday
  • Settings > Permalinks: Choose "Post name"
  • Settings > Reading:
    • Set homepage to a static page
    • Assign a blog page
    • Uncheck "Discourage search engines from indexing this site" before launch
  • Settings > Discussion: Disable comments and pingbacks (if not used)

2. Plugin Stack Overview

  • SiteGround Optimizer: for caching, image optimization, lazy loading
  • Rank Math SEO: for metadata, sitemaps, Open Graph, schema
  • Wordfence: for login protection, 2FA, brute-force prevention
  • WP Mail SMTP: (optional) to ensure proper email delivery
  • Divi Children: to create and manage your child theme cleanly

3. Child Theme Setup (Divi Children)

  1. Install and activate the Divi Children plugin
  2. Use the plugin to generate your custom child theme
  3. This will create a functional child theme with:
    • functions.php — where you can paste PHP customizations
    • style.css — for your site-wide CSS rules
    • Font support folder (optional) for uploading custom fonts
  4. Activate the new child theme
  5. From now on, add custom code here — never modify the parent Divi theme

4. Divi Theme Options Configuration

5. Global Colors in Divi (Step-by-Step)

  1. Open any module (e.g., Text, Button, Blurb) in the Visual Builder
  2. Find any color setting — such as background, text, or border color
  3. Click the teardrop icon to open the global color options
  4. Click the “+” button to add a new global color
  5. Set:
    • Primary: #1E88E5
    • Accent: #F39C12
    • Dark Text: #222222
    • Light BG: #F9F9F9
    • White: #FFFFFF
  6. Name each one clearly for reusability
  7. Click “Create” and then “Save”
  8. Use global colors throughout all modules and presets

6. Typography System + Text Presets (Step-by-Step)

Theme Customizer Settings

  1. Go to Divi > Theme Customizer > General Settings > Typography
  2. Set both the Header Font and Body Font to Open Sans
  3. Adjust base font size to 16px (or 17–18px for high readability)
  4. Set body text color and line height (1.7em suggested)
  5. Set link and heading colors as needed

Exact Font Sizes

ElementDesktopTabletMobileWeight
H160px48px36px700
H248px40px30px700
H336px32px24px600
H428px24px20px600
H522px20px18px600
H618px16px14px500
Body16px16px15px400
Buttons16px16px16px600

7. Creating and Using Divi Presets (Step-by-Step)

  1. Open any module (Text, Button, Blurb, etc.)
  2. Style the module using your preferred font, size, spacing, colors, etc.
  3. At the top of the module settings, click the Presets dropdown
  4. Choose “Create New Preset From Current Styles”
  5. Give it a clear name, like H1 Hero Title or Primary CTA Button
  6. Click Save
  7. From now on, you can apply this preset to any new module of that type
  8. To update a preset site-wide, click the 3-dot menu > “Update Preset Style”

Pro Tip: Create a standard set of presets for buttons, headings, cards, and blurbs, so you never style manually again.

8. Theme Builder Templates

  1. Go to Divi > Theme Builder
  2. Click “Add Global Header” and design your site-wide header
    • Use logo module or image
    • Insert menu module and apply presets
  3. Click “Add Global Footer” and design your footer layout
    • Add blurbs for contact info
    • Insert social media icons and copyright notice
  4. Click “Add New Template” to create:
    • Single Post layout
    • Category archive pages
    • 404 Page
    • Search Results page
  5. Save and Export your Theme Builder layout for future reuse

9. WordPress Theme Customizer Settings

Even with Divi's builder, the native WordPress Customizer is still useful for:

  • Typography (fallback): body font, heading font, base sizes
  • Header settings: logo max width, menu layout for mobile
  • WooCommerce support: basic color customization for store pages
  • Footer widgets: column layout, background color

10. Cleanup & Export Process

  1. Delete default content: Hello World, sample page, etc.
  2. Deactivate and delete unused plugins to reduce load
  3. Export backups:
    • Divi Theme Options
    • Divi Theme Builder layout
    • Divi Library (presets, sections, templates)
    • Rank Math configuration file
    • Wordfence settings
  4. Clear Static CSS under Divi > Theme Options > Builder
  5. Optimize database using SiteGround Optimizer

11. Mobile Layouts (4, 5, 6 Per Row)

Paste this CSS into your child theme or Divi Theme Options > Custom CSS:

@media only screen and (max-width: 767px) {
  .four-per-row .et_pb_column { width: 25% !important; float: left; margin-bottom: 20px; }
  .five-per-row .et_pb_column { width: 20% !important; float: left; margin-bottom: 20px; }
  .six-per-row .et_pb_column { width: 16.6667% !important; float: left; margin-bottom: 20px; }
  .four-per-row, .five-per-row, .six-per-row {
    display: flex;
    flex-wrap: wrap;
  }
}
  

To use this, assign the class (e.g., five-per-row) to the Row > Advanced > CSS Class field.

12. Uploading Custom Fonts to Divi (PHP + CSS)

Step 1: Allow font file types via PHP

In functions.php of your child theme (created via Divi Children), paste:

function my_custom_upload_mimes($mimes = array()) {
  $mimes['ttf'] = "font/ttf";
  $mimes['otf'] = "font/otf";
  $mimes['woff'] = "font/woff"; /* Added WOFF */
  $mimes['woff2'] = "font/woff2"; /* Added WOFF2 */
  return $mimes;
}
add_filter('upload_mimes', 'my_custom_upload_mimes');
  

Step 2: Upload font files

  • Go to Media > Add New
  • Upload your .ttf, .otf, .woff or .woff2 file
  • Alternatively, use the Divi Theme Options > Upload Font feature.

Step 3 (Optional): Use @font-face CSS for advanced use

Paste this into your child theme's style.css or Divi > Theme Options > Custom CSS:

@font-face {
  font-family: 'MyCustomFont'; /* Choose a name */
  src: url('/wp-content/uploads/YYYY/MM/mycustomfont.woff2') format('woff2'), /* Path from Media Library */
       url('/wp-content/uploads/YYYY/MM/mycustomfont.woff') format('woff'); /* Fallback */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Improves performance */
}
/* Example Usage */
body {
  font-family: 'MyCustomFont', sans-serif;
}
  

Note: Replace /wp-content/uploads/YYYY/MM/mycustomfont.woff2 with the actual URL from the Media Library after uploading.

13. Performance: SiteGround Optimizer Settings

14. SEO: Rank Math Configuration

15. Security: Wordfence Setup

  1. Install and activate Wordfence Security
  2. Go through the initial setup/tour.
  3. Go to Wordfence > Firewall:
    • Click "Optimize the Wordfence Firewall". Follow the steps.
    • Set Firewall Status to "Enabled and Protecting".
    • Review Brute Force Protection settings (adjust lockout thresholds if needed).
    • Consider enabling "Real-Time IP Blocklist" (premium feature).
  4. Go to Wordfence > Login Security:
    • Enable Two-Factor Authentication (2FA) - Highly Recommended. Use an authenticator app.
    • Add login CAPTCHA (reCAPTCHA v3 recommended for less friction). Configure API keys.
    • Disable XML-RPC authentication (if not needed, common attack vector).
    • Prevent discovery of usernames through '/?author=N' scans.
  5. Go to Wordfence > Scan:
    • Run your first scan. Review findings.
    • Schedule regular scans (default is usually fine).
  6. Go to Wordfence > All Options (Review):
    • Alerts: Configure email alerts for important events.
    • Live Traffic: Can be disabled if not actively monitoring to save resources.
    • Blocking: Review advanced blocking options if needed.
  7. Export and save your configuration (Tools > Import/Export Options) for reuse.

16. PHP Boost: .user.ini Settings

Create or edit the file named .user.ini in your website's root directory (usually /public_html or similar via SiteGround File Manager or FTP). Add/adjust these lines:

memory_limit = 1024M
upload_max_filesize = 256M
post_max_size = 256M
max_execution_time = 600
max_input_vars = 15000
max_input_time = 300
  

These settings increase resources available to PHP, helping prevent timeouts and memory issues with complex Divi layouts, large media uploads, or plugin operations. Verify these changes in Site Tools > Devs > PHP Variables.

17. Appendix A: Advanced CSS Snippets

Add these to your Child Theme's style.css or Divi > Theme Options > Custom CSS.

Card Box Styling

Apply class card-box to a Column or Module.

.card-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); /* Slightly stronger shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add hover effect */
}
.card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
  

Custom Bullet Points

Apply class custom-bullets to a Text module containing an unordered list (

Previous Next
Close
Test Caption
Test Description goes like this
Your Title Goes Here

Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.

Your Title Goes Here

Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.