Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Global styles don't work in the Featured Product and Featured Category blocks #6988

@Aljullu

Description

@Aljullu

To reproduce

  1. Install a block theme.
  2. Open Appearance > Site Editor.
  3. Add a Featured Product and a Featured Category block.
  4. Customize the global styles related to those blocks (click on the styles button on the top toolbar and then the Blocks section).

5. Notice the styles aren't applied.

Expected behavior

Global styles should work for those two blocks.

Additional context

According to this comment from @oandregal, the issue might be that we are not adding the correct class name to the blocks.

Metadata

Metadata

Assignees

Labels

block: featured categoryIssues related to the Featured Category block,block: featured productIssues related to the Featured Product block.focus: global stylesIssues that involve styles/css/layout structure.type: bugThe issue/PR concerns a confirmed bug.type: good first issueThe issue is a good candidate for the first community contribution/for a newcomer to the team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions