Issue with radius on blog post images
I am out of ammo trying to resolve a weird issue with radius on post images. In the Theme Builder blog post layout, the radius is displayed correctly (see image 1). The radius is also displayed correctly when I am in page edit mode (see image 2). However, when viewing the actual post page, the radius is missing on the images (see image 3).
The page layout uses the k-blog preset for the blog module and an autogrid column layout. If anyone has an idea why this is happening, I will appreciate your thoughts.
Quick fact-based take on this:
(see the workaraound with css or the no-code variant below)
My first tests went as follows — I checked the modules from the JSON files both at the code level and in actual use on a page. From that I conclude:
The rounding isn't actually set by Mak's k-blog preset — if you look inside it, k-blog contains no image radius at all. The rounded corners come from a separate radius variable that gets applied to the image.
And here's the key part: that exact same radius variable works perfectly on a normal page (e.g. on a regular Image module) — the corners round on the live site there. I tested this. So both pieces are demonstrably working: the preset is fine, and the variable is fine.
The radius only fails to show up on the live page inside the blog module, while it's still visible in the Visual Builder and Theme Builder. So this isn't a fault in KrafterPRO's blog module or in the variable setup — it's specifically how Divi outputs that variable-based radius for blog-module images on the front end. The same value, applied the same way, works everywhere except inside the blog module.
Easy to confirm in a minute: drop a normal Image module on the same page with the same radius — it'll round on the live site, but the blog images won't. That isolates it cleanly to the blog module.
--
I'm continuing to work on tracking down the root cause.
In the meantime, this is solvable right away with a bit of CSS
Since you are using a Theme Builder layout, a quick CSS snippet inside your global template is the cleanest and most bulletproof way to fix this in seconds:
Step 1: Add a Class to the Blog Module
- Go to Divi → Theme Builder and edit the Body layout of your "All Blog Posts" (or Blog Archive) template. (Important: Do not edit individual post pages, it must be done inside the template!)
- Open your Blog Module settings.
- Switch to the Advanced tab and open Attributes (this is where the old "CSS ID & Classes" fields live in Divi 5).
- Click + Add Attribute → Target Element: Module → Attribute Name:
class→ Value:blog-radius-fix.
Step 2: Paste the CSS "Cookie Cutter"
- Open the Page Settings (the gear icon located in the top-left corner of the Divi 5 builder UI).
- Go to the Advanced tab → Custom CSS and paste this code:
css
/* Forces the inner image wrappers of Divi 5.6 to clip the corners */
.blog-radius-fix .et_pb_image_container,
.blog-radius-fix .et_pb_image_container a,
.blog-radius-fix img {
border-radius: var(--gvid-xxxxxx) !important; /* 💡 Replace with your actual radius variable or e.g. 12px */
overflow: hidden !important;
}
Verwende Code mit Vorsicht.
Why this works:
Instead of trying to hide the overflow on the whole module (which could ruin your grid layout or cut off box shadows), this snippet targets the exact HTML wrappers holding the image. The overflow: hidden !important acts like a cookie cutter, forcing the live browser to instantly slice off those stubborn sharp corners!
--
The Native Alternative: Using Global Variables on Sub-Elements (No CSS Needed)
Instead of hardcoding pixel values (like 12px) into every module or wrestling with custom CSS, the most professional way to handle this in Divi 5.6 is to map your Global Design Variables directly to the specific image element.
Applying the radius to the main Blog module forces the whole grid container to round its corners, which breaks the frontend layout. Assigning the global variable directly to the Featured Image sub-panel forces Divi 5.6 to automatically apply the correct wrapper rules on the live site.
Here is how to do it:
Step 1: Map the Global Variable to the Image Panel
- Go to Divi → Theme Builder and edit the Body layout of your "All Blog Posts" template.
- Open your Blog Module settings.
- Switch to the Design tab and open the Image dropdown section (Important: Do not use the main Border section at the bottom of the module!).
- Look for the Corner Radius option and click the small Dynamic/Variable icon (the circle/globe icon next to the input field).
- Select your existing KrafterPRO global radius variable (e.g.,
--gvid-border-radiusor your custom design tokens) from the list.
Step 2: Save as a New Module Preset (Optional but Recommended)
If you want to reuse this perfect setup across different pages without doing the steps again:
- Look at the very top of your Blog module settings panel where it shows the current preset name.
- Click the preset dropdown and select "Create New Preset from Current Styles".
- Name it something clear, like
k-blog-rounded-images. - Save it. Now you can apply this exact layout behavior to any Blog module on your site with a single click.
Why this is the best approach for Divi 5.6:
- Centralized Design Control: If you want to change your site-wide corner radius from
12pxto8pxnext month, you only change it once in your Divi 5 Theme Settings → Design Variables. Every blog image on your site will instantly update. - No Layout Breaking: Divi 5.6 natively understands that the radius belongs to the image container wrapper, keeping your outer grid structures, text alignments, and beautiful box shadows perfectly intact.
I will try that and see if there are other solutions when using KrafterPRO presets.
How to Fix Missing Post Image Radius in Divi 5.6 (KrafterPRO Presets)
If your blog post images show beautiful rounded corners inside the Divi 5.6 Visual Builder but turn back into sharp, ugly squares on the live website, you are not alone. This layout glitch frequently impacts users utilizing advanced frameworks like the KrafterPRO presets.
Here is the exact breakdown of why this happens, how to fix it immediately, and how the issue can be solved permanently on the framework level.
Why is this unique to the Blog Module? (And why normal pages work fine)
You might wonder: "Why can I add rounded corners to a standard Image Module on a normal page without any issues, but the Blog Module completely breaks on the live site?"
The answer lies in how Divi 5.6 generates its modern HTML structure and CSS grids behind the scenes:
- Dynamic Loops vs. Static Elements: On a normal page, an Image Module is a static element. When you set a corner radius, Divi 5.6 applies the CSS directly to that specific HTML
<img>tag or its single outer wrapper. - The Deeper Layer Conflict: The Blog Module uses a dynamic loop. To keep the post grid stable, Divi 5.6 wraps each post and its featured image inside multiple layers of hidden containers (like
.et_pb_image_containeror an anchor<a>tag for the post link). - The Overflow Bleed: When you apply a corner radius to the main Blog Module settings, Divi 5.6 rounds the outermost box of the post. However, theme presets (like KrafterPRO) require inner containers to have
overflow: visibleso that post badges or categories can float outside the image frame. This allows the sharp 90-degree corners of the actual image to bleed right through on the live front-end. - Visual Builder Illusion: It looks perfect inside the editor because the Visual Builder injects auxiliary helper styles to make elements selectable. These helper styles disappear on the live site, causing the layout to break.
Solution 1: The Bulletproof Custom CSS Fix
Since you are using a Theme Builder layout, adding a tiny, highly targeted CSS snippet inside your global template is the cleanest way to force the live page to behave.
Step 1: Add a Class to the Blog Module
- Go to Divi → Theme Builder and edit the Body layout of your "All Blog Posts" (or Blog Archive) template. (Note: Do not edit individual post pages; it must be done inside the global template!)
- Open your Blog Module settings.
- Switch to the Advanced tab and open the Attributes section (this is where the old "CSS ID & Classes" fields live in Divi 5).
- Click + Add Attribute → Target Element: Module → Attribute Name:
class→ Value:blog-radius-fix.
Step 2: Paste the CSS "Cookie Cutter"
- Open the Page Settings (the gear icon located in the top-left corner of the Divi 5 builder UI).
- Go to the Advanced tab → Custom CSS and paste this code:
css
/* Forces the inner image wrappers of Divi 5.6 to clip the corners */
.blog-radius-fix .et_pb_image_container,
.blog-radius-fix .et_pb_image_container a,
.blog-radius-fix img {
border-radius: var(--gvid-xxxxxx) !important; /* 💡 Replace with your actual radius variable or e.g. 12px */
overflow: hidden !important;
}
Backup before and use code with caution.
Solution 2: The Native Alternative (No CSS Needed)
Instead of wrestling with custom CSS, the most modern way to handle this natively in Divi 5.6 is to map your Global Design Variables directly to the specific image sub-element.
Step 1: Map the Global Variable to the Image Panel
- Open your Blog Module settings inside your Theme Builder template.
- Switch to the Design tab and open the Image dropdown section (Important: Do not use the main Border section at the bottom of the module!).
- Look for the Corner Radius option and click the small Dynamic/Variable icon (the circle/globe icon next to the input field).
- Select your existing KrafterPRO global radius variable (e.g.,
--gvid-radius-baseor your custom design tokens) from the list.
Step 2: Save as a New Module Preset (Optional)
If you want to reuse this perfect setup across different pages with a single click:
- Look at the very top of your Blog module settings panel and click the preset dropdown.
- Select "Create New Preset from Current Styles".
- Name it something clear, like
k-blog-rounded-images, and save it.
How this can be solved permanently inside KrafterPRO
Since KrafterPRO is a utility-first design system built on top of Divi 5, the absolute cleanest way to fix this is by updating the master framework presets and CSS tokens. To resolve this issue permanently for all users, two specific adjustments can be made inside KrafterPRO's core structure:
- Update the
k-blogElement Preset
KrafterPRO can update its global Blog Module Preset inside the Divi 5 Preset Manager. The corner radius variable must be removed from the main Border tab and mapped directly to the Design → Image sub-panel instead. This natively forces Divi 5.6 to apply the radius directly to the inner image wrapper out of the box.
- Patch the Utility CSS for Grid Containers
To prevent the layout bleed without breaking outer badges or drop shadows, this highly specific rule can be added to Krafter’s global stylesheet:
css
/* Global KrafterPRO framework fix for Divi 5.6 post images */
.et_pb_blog_05_wrapper .et_pb_image_container,
.et_pb_blog_05_wrapper .et_pb_image_container a {
overflow: hidden !important;
border-radius: inherit;
}
Backup before and use code with caution.
Once these framework adjustments are pushed, the issue is completely eliminated. Users can simply drop the blog module onto any page, apply the k-blog preset, and enjoy perfectly rounded post images on both the builder and the live frontend without ever touching a line of code!
"Nothing is perfect, and nothing lasts forever. Mistakes happen—even when using AI."
(Frank Schlatter)
Frank,
I had a few minutes before I had to head off to an appointment, so I dove in and added the class and the code to the blog module on each of my three page layouts. It worked, but after re-reading your comments again, I see that I should have been working in the theme builder. Here is a screen shot of where I think you say these edits should go. Is this the location I should be editing?
Your research into this issue is really admirable. On behalf of the Krafter community, thank you for your generous and unselfish support and assistance.
Sorry, for the blog module, this has to go into either the Divi global CSS or the style.css if you're using a child theme. I’ll need to tweak the code a little bit for that.
My bad—in all the rush, I did it in the normal page design where those settings actually exist. But it's totally doable for the blog too, and I’ll handle it via Divi 5 -> Theme Options -> Global CSS. The CSS code just needs a few quick adjustments.
To be honest, building blogs with Divi is usually a bit of a pain. I’ve never really liked using Divi for blog layouts and always stuck to the standard WordPress editor instead. But I’m going to dive deeper into it now and see if Divi 5 makes setting up blog pages any easier or better.
I have this problem on normal pages...
Image Modul, Design tab Border "Radius Large" -> rounded corners in the builder but not at the front end. I hope, KrafterPro 3.0 will fix this. I have a CSS fix for this from ChatGPT.
Frank,
I am trying to implement the fix as you suggested but I do not see Attributes in the settings of the body of the blog module template. Am I working in the wrong location?