Skip to content

Add global content padding setting in Customizer exposed via CSS variable #4726

Backlog

Description

@pirate-bot

Impact: 65 · Confidence: 90 · Complexity: 35

Description

Problem

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

  1. added
    customer report
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer reportfeature-request-triage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions