Registering a custom block style
-
Hi! I’m working on my first block theme and it’s giving me a lot of fun. I see there is a registered style in the block style tab to change the background image of the “row” block.. see the attached image below.
I’m looking for that feature to be added to the “header” block as well. I had the ability to register some custom styles for the selected block using the “register_block_style” function, but I was unable to add such a style using this PHP function. I also looked for a way to do this using theme.json. Unfortunately I still have no luck.
Hope somebody may help me out. Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Registering a custom block style’ is closed to new replies.
