First Look at Divi Code AI: Do You Still Need CSS Skills?

aniaromanska

Written by Ania Romańska

Published on . Last edited on .

Friendly floating bot on a white background

TL;DR

Divi Code AI writes CSS and Code module code from a plain-language prompt, tailored to Divi; it launched in late 2023.

In Divi 5 the Code AI button on code fields offers Code With AI and Improve With AI.

Divi 5 also has an AI Agent that can change your page, variables, presets and builder settings from a prompt; Divi AI is a paid subscription.

To use AI-generated CSS site-wide you usually need to adjust the selectors, which takes basic CSS knowledge.

With CSS skills, generating code and adjusting it is faster than writing it from scratch; without them, getting exact client results from prompts is hard.

Updated for Divi 5: This is my first look at Divi Code AI from November 2023, when we were all on Divi 4. Code AI is still part of Divi 5 (the Code AI button on code fields offers Code With AI and Improve With AI), and Divi 5 added an AI Agent that can change your page, variables, presets and builder settings from a prompt (both need a Divi AI subscription). My answer to the CSS question hasn't changed.

When Elegant Themes announced they've added a Code feature to their Divi AI functionality, we instantly ran to check it out. Because getting custom code written for you in seconds, and also tailored perfectly to Divi, is a dream come true!

Divi Code AI delivers what the creators promise (check it out here), which is amazing news. But it also leads to the inevitable question: do you still need CSS skills when you can get custom code generated for you in seconds?

Here is our take on the new Divi Code AI and what it means for the future of CSS learning.

Friendly floating bot on a white background
Divi Image AI-generated graphic. Prompt used: "Friendly floating bot, white background"

How do you modify Divi modules with Code AI?

You describe the effect you want in plain words, and Divi Code AI writes CSS (or code for the Code module) that is tailored to Divi, which you can then tweak.

Right now, the Code AI functionality is limited to Divi modules and the Code Module, though the developers already promise an AI functionality for building full page layouts. Even with just the current options, the possibilities are endless! By prompting the AI with a description of the effect we want to achieve, you can get a quick result that can be further tweaked and adjusted.

(That promise came true: Divi AI can build full layouts from a description now, and in Divi 5 the AI Agent can also edit the page you're working on.)

The AI was trained specifically for the Divi ecosystem, meaning the results are tailored to work perfectly within Divi.

Using Divi Code AI already promises to be a huge time-saver for web designers. It's also a fun new way for CSS newbies to explore the world of custom coding.

But can AI coding functionality replace CSS knowledge and skills?

In short, it largely depends on how you'll use it and what your goals are.

Is Code AI enough for casual Divi users?

For your own website, Code AI is a quick way to get effects you couldn't build before, but without CSS basics you can't fix the code when the result isn't quite right.

If you're a casual Divi user, for example just building your own website, the new Code AI could be a quick way to help you achieve some effects that were previously unattainable. It's definitely a fun tool to play with that could boost your creativity!

Divi AI creates effective results. We love seeing the power of custom coding be available to everyone! That said, there are some limits to using an AI to do your coding if you don't have any coding skills. For one, prompting the tool to give you the result you want may take some trial and error. You might get frustrated getting results that are not quite right, yet being unable to troubleshoot the code yourself.

Also, if you want to use the code site-wide, you have to adjust the CSS selectors for that to work, which also requires some coding knowledge. (If you're not sure where CSS goes in Divi 5, my beginner guide to custom CSS in Divi shows every place.)

The good news is that the AI tool will still do the bulk of the work for you, and the skills required to fine-tune the results aren't that difficult to learn!

Should professional web designers use Code AI?

Yes, if you know CSS: generating code and adjusting it is faster than writing it from scratch. Without CSS skills, getting pixel-perfect client results from prompts alone is hard.

If you build websites for clients, using Code AI without having CSS skills can be tricky. In professional work, there is much less freedom to play around. You have deadlines to keep and specific results to achieve. You want your final result to be pixel-perfect, stylistically consistent, and meeting client expectations. In these circumstances, prompting the AI to get you these results can be difficult or even impossible, unless you know how to tweak the code yourself.

If you do have CSS skills, however, generating your code and then adjusting it can be much faster than writing it yourself. This is the upside of Code AI that we're so excited about! It has the potential to save CSS users so much time and make their work much easier.

How to get the most out of Code AI?

Test different prompts, and learn the CSS basics so you can read, fix and reuse the code the AI gives you.

Like with any tool, there's a learning curve to working with Code AI. If you've tried out any AI software out there, you know there's an art to prompting. Getting a result is easy: getting the exact result you want is the hard part! You definitely need to test things out to see what works.

Another important step would be to learn CSS basics if you don't know CSS yet. This step is indispensable if you want to have a professional level of control over your code, sorry! The good news is, learning CSS can be easy, fun, and FREE.

Learn CSS for free: the 5-Day CSS & Divi Challenge

The 5-Day CSS & Divi Challenge is my free, five-day introduction to CSS for Divi users. It runs in editions, so join the waitlist to hear about the next one.

It's the perfect way to ease into CSS learning in a fun, supportive environment. The challenge lasts 5 days and is free for all Divi users! It comes with free video lessons, additional resources, and daily live Q&As inside an exclusive community where you'll get all your coding questions answered.

Can't wait? Start with my beginner guide to custom CSS in Divi and my copy-paste CSS snippets for Divi buttons.

What do YOU think?

If you've already tried Divi Code AI (or the new AI Agent in Divi 5), what are your thoughts? Was it easy to work with? How helpful did you find it? Share your thoughts in my Divi Lovers Facebook group!

This article has been tagged with: Divi CSS

Tags

Friendly floating bot on a white background

Table of Contents

Popular questions

What is Divi Code AI?

It's part of Divi AI: you describe an effect, and it writes CSS or code for the Code module that is tailored to Divi. In Divi 5 you find it in the Code AI button on code fields (Code With AI, Improve With AI).

Do I still need to learn CSS if I use Divi AI?

For your own website, Code AI can get you far. For client work, CSS basics let you fix results that are almost right, adjust selectors so code works site-wide, and keep the styles consistent.

Does Divi 5 have AI?

Yes. Divi 5 includes Divi AI features (layouts, text, images, Code AI) and an AI Agent that can modify your page, variables, presets and builder settings from a prompt. Divi AI needs a Divi AI subscription (or Divi Pro).

About the Author

Ania Romańska

I'm a Divi expert from Poland, with over 10 years building the templates and courses that make up Divi Lover. I'm also a mom of five, which taught me a thing or two about explaining things clearly the first time.

Psst!Black Friday is here.

Black Friday
40% off templates.
Early-bird prices on Divi 5 courses.

Your next Divi project just got a little cheaper.All templates and plugins are 40% off. Plus, grab my new Divi 5 Self-Study Courses at special early-bird prices before they open in January.

No code needed

Sale prices are already applied. Ends November 30.