Skip to content

Navigation Block: Allow for transparent submenu background #53487

@cuemarie

Description

@cuemarie

What problem does this address?

Some users may want their Navigation Block's submenu to have a transparent background, to match the transparent background of the navigation block itself in it's default state. For example:

usecase-transparent-submenu

However, it's currently not possible to do so without the use of additional CSS. When there is not a background color set, the submenu background defaults to white (at least on them: TT3), and it's not possible to set it as transparent from the color picker in the editor.

Markup on 2023-08-09 at 11:22:15

Markup on 2023-08-09 at 11:22:50

What is your proposed solution?

Adding a transparency slider to the custom color picker would solve this problem.

Screenshot on 2023-08-09 at 11-32-31

Possibly related? #42170 (I tried the tactics in that discussion here, though, and wasn't able to make that work.)

Originally requested here: Automattic/wp-calypso#80367

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions