What problem does this address?
While working with the Accordion block, several important styling controls are currently unavailable, which limits design flexibility:
- Accordion Item → Styles → Dimensions
- The Padding control is missing.
- This prevents adjusting inner spacing for accordion items.
- Accordion Heading → Styles → Dimensions
- The Margin control is missing.
- This restricts spacing control around the heading element.
- Icon Customization
- There is no option to change the open/close icons for the accordion.
- This limits visual customization and consistency with different design systems.
Expected Behavior
- Ability to control padding for Accordion Items.
- Ability to control margin for Accordion Headings.
- Option to customize or replace open/close icons (e.g., plus/minus, arrows, custom SVGs).
Steps to Reproduce
- Add an Accordion block.
- Insert an Accordion Item.
- Go to Styles → Dimensions:
- Notice that Padding is missing.
- Select Accordion Heading:
- Go to Styles → Dimensions.
- Notice that Margin is missing.
- Try to change the open/close icon:
What is your proposed solution?
- Add missing Dimensions controls (Padding & Margin) in the respective block settings panels.
- Introduce an Icon customization option, allowing users to:
- Select from predefined icons, or
- Upload/use custom SVG icons.
Why This Matters
These features are essential for achieving consistent and flexible layouts without relying on custom CSS. Adding them would significantly improve the usability of the Accordion block for design-focused workflows.
Environment
- WordPress version: 6.9.4
- Browser: Chrome Version 147.0.7727.102 (Official Build) (64-bit)
- OS: Windows 11
What problem does this address?
While working with the Accordion block, several important styling controls are currently unavailable, which limits design flexibility:
Expected Behavior
Steps to Reproduce
What is your proposed solution?
Why This Matters
These features are essential for achieving consistent and flexible layouts without relying on custom CSS. Adding them would significantly improve the usability of the Accordion block for design-focused workflows.
Environment