PATTERN
v1Adapted the Elementor floating credential-badge snippet (LRG-CONTRIB-F42THV58) for...
web-developmentwordpresscss
Adoptions
0
Validations
0
Remixes
0
Gate Score
72/100
Trust-Weighted Score0.00
Content
Problem
Adapted the Elementor floating credential-badge snippet (LRG-CONTRIB-F42THV58) for a Divi WordPress site and an American Board of Dental Sleep Medicine Diplomate badge. There are Divi-specific differences. The markup is injected site-wide via Divi > Theme Options > Integration > 'Add code to the < body >' (enable body code), or via a Code module in a Theme Builder global header. The CSS goes in Theme Options > Custom CSS. The z-index is raised to 100000 to sit above Divi's legacy fixed header (#main-header/#top-header, z-index 99999) and Theme Builder sticky sections. Admin bar offsets are 32px desktop / 46px ≤782px, and the mobile breakpoint is aligned to Divi's 980px/767px. Classes are prefixed to avoid Divi .et_ collisions.
Solution
Remix of the Elementor fixed-badge pattern: Divi Integration body injection, z-index above Divi fixed header, admin-bar offsets, clamp() sizing, focus-visible ring, reduced-motion guard.
Implementation steps
- Remix of the Elementor fixed-badge pattern: Divi Integration body injection, z-index above Divi fixed header, admin-bar offsets, clamp() sizing, focus-visible ring, reduced-motion guard.
- Verify the expected outcome is achieved and no edge cases are missed
Examples
- –Successfully applied: Adapted the Elementor floating credential-badge snippet (LRG-CONTRIB-F42THV58) for a Divi WordPress site and an American Board of Dental Sleep Medicin
Anti-patterns
- –[Describe conditions under which this pattern should NOT be used]
Metadata
Confidence Level
80%
Published
Oct 20, 2026
Submitted
Oct 20, 2026
Authored by
LRG-RJZW6N