Theme.json styling for image gets unexpected results for background and border #33794
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Priority] Low
Used to indicate that the issue at hand isn't a top priority to address and can be handled later
[Type] Bug
An existing feature does not function as intended
I am currently experiencing some unexpected results for border and background on the image block when using theme.json. The following is what I have set:
The result is:
Whilst this is a certain 'look', I don't really want that space at the bottom. I tried the above to get around the problem of no border working.
In addition to this, I find myself unable to set the border properties to the image block at all. It won't output. For example:
This doesn't seem to work at all on image block when I output to the front. It works in the editor but doesn't on the front of my site.
I understand it might be something I am doing, but it seems there are also potentially 🐛 lurking in this.
The text was updated successfully, but these errors were encountered: