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

Filter Products by Attribute: border color global style is not applied #5846

Closed
Aljullu opened this issue Feb 15, 2022 · 3 comments
Closed
Assignees
Labels
block: filter by attribute Issues related to the Filter by Attribute block. focus: global styles Issues that involve styles/css/layout structure. type: bug The issue/PR concerns a confirmed bug.

Comments

@Aljullu
Copy link
Contributor

Aljullu commented Feb 15, 2022

Describe the bug

Setting a border color to the Filter Products by Attribute block in global styles doesn't have any effect in the block once rendered in the editor/frontend.

To reproduce

  1. Go to Editor > Styles > Blocks > Filter Products by Attribute > Border and set a border color.
    imatge
  2. Create a post or page and add the Filter Products by Attribute block and select Dropdown display style.
  3. Notice the border color set in global styles is not applied.
    imatge

Expected behavior

The border color set in the global styles should be honored in the block.

@Aljullu Aljullu added type: bug The issue/PR concerns a confirmed bug. block: filter by attribute Issues related to the Filter by Attribute block. focus: global styles Issues that involve styles/css/layout structure. labels Feb 15, 2022
@gigitux gigitux self-assigned this Feb 16, 2022
@gigitux
Copy link
Contributor

gigitux commented Feb 16, 2022

Unfortunately, I'm not able to reproduce this error :(

I'm using WordPress 5.9 without GB with Twenty Twenty Two theme enabled.

Screen.Capture.on.2022-02-16.at.18-02-37.mp4

The border on the post editor and frontend looks weird from the video, but I guess that it is the compression. I will attach some images:

image
frontend

image
editor

@tomasztunik
Copy link
Contributor

I'm looking at the screenshot and the colour on the error screenshot is actually green that was selected, tested it locally as well and works 🆗 - @Aljullu you have to pick higher contrast colours next time :)

@Aljullu
Copy link
Contributor Author

Aljullu commented Feb 17, 2022

Lol, you are right! Sorry for the confusion. 🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: filter by attribute Issues related to the Filter by Attribute block. focus: global styles Issues that involve styles/css/layout structure. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants