theme.json core/table default padding and border color
-
Hi, i am trying to use theme.json to set some defaults for the table block. I have added the following in styles > blocks.
"core/table": { "spacing": { "padding": { "left": "var(--wp--preset--spacing--20)", "right": "var(--wp--preset--spacing--20)" } }, "border": { "width": "1px", "color": "#b2b2b2;" } }
If i inspect the site it seems as if the settings are applied.
But the site and the editor do not reflect the change. Please help me to style the table block with theme.json.
The page I need help with: [log in to see the link]
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘theme.json core/table default padding and border color’ is closed to new replies.