Skip to content

v1.0.15 — padding insets popup from overlay edges

Choose a tag to compare

@jcasey76 jcasey76 released this 21 May 15:59
· 17 commits to main since this release

Fix: v1.0.14's padding was applied to the Divi section, which made the padded area show as the section's background color (often white) instead of the dark backdrop. Padding is now applied to the overlay itself, so the dark backdrop fills the padded area.

Setting renamed

`section_padding_` → `overlay_padding_`. Heads up: existing values reset to 0 on upgrade — re-enter them in Behavior if you had non-zero values set in v1.0.14.

What you get

  • Overlay padding — top/bottom and left/right in Behavior section.
  • Each value insets the popup from the corresponding viewport edge.
  • The dark backdrop (controlled by Overlay opacity) fills the padded area.
  • The close icon stays at the popup's outer corner (not floating in the backdrop area).
  • Container `max-height` adapts to the overlay's content area, so the popup still fits within the viewport minus padding.

Picking values

Goal Vertical Horizontal
Popup fills viewport edge-to-edge 0 0
Small breathing room 20 20
Centered card with lots of backdrop visible 80 80
Banner-style top/bottom inset 60 0