Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Empty title adds extra padding #148

@NicoHood

Description

@NicoHood

Description

This is how the widget looks with a title:
grafik

And this is without (empty title highlighted):
grafik

You can clearly see, that there is additional padding to the top, cause the h2 is still there, but empty:
grafik

Reproduction

Add the widget without a title

Environment

Wordpress 5.7
Generatepress (free) theme

Additional context

The headline should be either removed or fallback to a default value.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions