You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add global content padding setting in Customizer exposed via CSS variable #4726
Users configuring custom layouts, full-width section inner containers, or custom block CSS must hardcode specific pixel/em padding values across multiple CSS rules (e.g. 15px for mobile, 45px for desktop). When site-wide container padding needs adjusting, users must manually locate and update every hardcoded numeric value in their custom CSS.
Desired Behavior
Add a global content/container padding control in the Neve Customizer (under Layout or Global Settings) that sets site-wide content padding and outputs a root CSS variable (e.g. --nv-container-padding or --padding). Theme layout containers and custom CSS can then consume this variable for consistent, responsive spacing.
Acceptance Criteria
Provide responsive control (Desktop, Tablet, Mobile) for global content padding in the Customizer.
Output the configured padding values as a CSS custom property (e.g. --nv-container-padding) on :root or body.
Apply the default theme container horizontal padding using this variable so core theme templates stay in sync.
Customer Context
The customer (a Pro user managing multiple Neve websites) frequently writes custom CSS for contained layouts within full-width sections. They find updating hardcoded numeric padding across responsive breakpoints cumbersome and requested a global Customizer padding setting that exposes a reusable CSS variable.
Root Cause Analysis
Neve currently hardcodes content container paddings (such as 15px on mobile and 45px on desktop) directly in theme stylesheet rules without exposing a unified global CSS custom property. Users customizing block layouts or writing custom section styles have no native theme variable to reference for consistent spacing.
Source:HelpScout #3521676022 Generated by feature-request-triage workflow (ID: feature-request-triage_6b0f6dbbe0b103.56603284)
Activity