Posts

How To Create An Off Canvas Services Popup In Divi 5

Image
Off canvas menus appear everywhere on the web, but building one that works smoothly on desktop often means fighting with custom CSS or patching together mega-menu workarounds. Divi 5 handles this differently with Canvases and Interactions . We’ll build a global off canvas services menu triggered from a Theme Builder header template. The menu sits in its own canvas, completely separate from your page layout, and stays fixed while visitors scroll. On mobile, it gets a max-height and internal scroll so everything stays accessible on smaller screens. What Are Canvases In Divi 5? A canvas in Divi 5 is a separate workspace that exists outside your main page layout. Your page content lives in the main builder area, but canvases operate independently and stay hidden until triggered. Think of them as dedicated containers for interface elements that only appear when needed. You build off canvas menus, slide-in panels, popups, or drawers inside a canvas, and they wait in the background unti...

When To Use Section, Aside, And Main HTML Elements In Divi 5

Image
Search engines and assistive technologies rely heavily on your page’s HTML structure to understand what each part is for. When everything is wrapped in generic <div> elements, they get less structural context, which can make your content harder to interpret and navigate. Using <main>, <section>, and <aside> can clarify your page structure and improve navigation for screen reader users. It also gives search engines a clearer context about which content is primary versus supporting. So when should you use each one? In this post, we’ll break down how these elements work and how Divi 5 makes it easy to assign semantic elements to any part of your layout. Let’s get into it. The Three Key Semantic Elements Semantic HTML includes many elements that describe page structure and content roles, each with a specific purpose. The elements you’ll use most often for structure are <main>, <section>, and <aside>. Understanding what they do individually he...

Using Divi 5’s Flexbox Layout System For Responsive Web Design

Image
Responsive design often comes down to controlling how elements shift, wrap, and space themselves across different screens. Divi 5 introduces Flexbox as its core layout system, giving you control over layout flow and alignment at the container level. While block-style layouts lock you into fixed columns and floats, Flexbox adjusts to available space, making responsive behavior more predictable. In this post, we’ll look at how Flexbox works in Divi 5 and walk through a simple layout to show how these tools come together to create a clean, responsive design with fewer adjustments. What Is Flexbox In Divi 5? Flexbox is a modern way of arranging elements so they automatically adapt to available space. Think of it like organizing items on a shelf: you decide how they should sit, how much room they need, and what happens when you run out of space. Rather than locking modules into fixed columns, Flexbox treats a section or container as a flexible space and gives you control over how its...

When To Use Figure and Figcaption HTML Elements In Divi 5

Image
Most images on your site need nothing more than what Divi already does. Add an Image Module, style it, and you’re done. But there are times when you want to group an image with a caption in a way that your HTML explicitly defines as a single unit. That’s where figure and figcaption come in. These HTML elements create a built-in semantic relationship that plain image-plus-text layouts often don’t express as clearly. The question isn’t whether they’re better, it’s when they’re worth using. Divi 5 makes adding these HTML wrappers  straightforward when your content needs that extra structure. Here’s how to decide. Understanding The Figure And Figcaption Elements Both elements come from HTML5 and work together to mark up content that benefits from a visible caption. Before you can decide when to use them, you need to know what each one actually does and how they interact with browsers and assistive technology. Let’s break down each element separately, then look at why their relation...