admin管理员组文章数量:1430093
I want to make some page layouts with the Gutenberg page builder so I can reuse them as sort of page templates.
An example:
- banner image on top of the page
- main title under the banner
- 3 rows with each 2-columns with image on the left and text on the right
Example of output code:
It is possible to add a class to the article-element, depending on which reusable block is used? So I can generally style the blocks and reuse them on different pages.
I Hope my question is clear because I kinda struggled writing it down ;)
本文标签:
版权声明:本文标题:theme development - Is there a way to add classes to a page when using a Gutenberg reusable block as page layout? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745538108a2662365.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论