How to Use Chrome’s AI Assistant for Your Divi Projects to Style CSS

Happy New Year! At Divi Engine, we’re kicking off 2025 with fresh ideas and tools to supercharge your web design game. Today, let’s dive into a tool that’s been a game-changer for streamlining workflows: Google Chrome’s AI Assistance Panel. This tool leverages Google’s Gemini AI model to help you with styling, troubleshooting, and performance optimization—directly within your browser.

Why Use Chrome’s AI Assistance?

Chrome’s AI Assistance offers:

  • Dynamic Styling Adjustments: Tweak your page’s style in real-time.
  • Console Error Explanations: Decode error messages with AI-powered insights.
  • Custom CSS Generation: Get tailored CSS solutions for tricky layouts.

And best of all, it’s free!

Step 1: Enable Chrome’s AI Assistance

Before diving in, you’ll need to activate the AI assistance features:

  1. Open Chrome Developer Tools (Ctrl + Shift + J or Cmd + Option + J).
  2. Click the ⚙️ in the top-right corner.
  3. Navigate to AI Innovations.
  4. Toggle the relevant options to ON.
Enable AI Assistant in Chrome Developer Tools

Once activated, you’re ready to unleash this awesome AI tool.

Step 2: Adjust Styling Dynamically

Here’s how you can use AI assistance to tweak styles on the fly:

  1. Inspect the Element: Right-click on the element and select Inspect.
  2. Open the AI Assistance Panel:
    • Go to More Tools > AI Assistance.
  3. Enter a command like, “Make this element smaller.”
  4. The AI will analyze the element and provide a dynamic code snippet.
  5. Review and apply the changes instantly.
Demonstration of Chrome AI Assistant

Pro Tip: The tool works best with clear, specific commands. If it doesn’t behave perfectly, adjust your phrasing.

Step 3: Center Elements Vertically

Vertical alignment is a common design challenge. Here’s how to solve it with Chrome’s AI:

  1. Inspect the column or container where alignment is needed.
  2. Use the AI panel to ask, “How do I center elements in this column vertically?”
  3. Copy the CSS provided and paste it into Divi’s Theme Options or the Custom CSS tab for the module.
Divi Modules aligned vertically in a column

You can also check out our blog post on vertically aligning Divi Modules in the center if your would like to see the full process.

Note: Adding a custom class to the column can help you increase specificity if needed.

Step 4: Align a Button to the Bottom of a Column

To align the last module in a column (e.g., a button) to the bottom:

  1. Inspect the column containing the button.
  2. Use the command: “Move the button to the bottom. Provide full CSS.”
  3. Apply the generated CSS in the same way as above.
Aligning the last module in a column to the bottom

Troubleshoot Like a Pro with Console Insights

If you encounter errors in Chrome’s console, AI assistance can help:

  1. Open the console (Ctrl + Shift + J or Cmd + Option + J).
  2. Right-click an error message and select Explain with AI.
  3. Review the explanation and follow suggested solutions, such as disabling ad blockers or debugging AJAX filters.
Using Chrome AI Assistant to explain console error.

Beyond Divi: Use Cases for Any Website

While this tutorial focuses on Divi, Chrome’s AI Assistance works across platforms like Elementor, Bricks Builder, or any WordPress site. All you need is Chrome!

Wrapping Up

With Chrome’s AI Assistance, you can:

  • Make quick styling tweaks.
  • Decode and resolve errors effortlessly.
  • Generate and apply custom CSS for tricky layouts.

This tool simplifies design and troubleshooting, making it an essential addition to your workflow. Try it out, and let your imagination flow!

Explore more from Divi Engine