Support » Plugin: Gutenberg » Inline Images Class

  • When I insert inline images, there is nowhere to add a class. It lumps the inline image together with the parent div.

    I specifically want to add a margin to the checkbox icons that I’ve made so they act like bullet points and stand to the left-hand side of the text.

    Any suggestions please?


    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • What you need to do is add a filter like the first one on this page:

    The example above registers a block style variation named fancy-quote to the core/quote block. When the user selects this block style variation from the styles selector, an is-style-fancy-quote className will be added to the block’s wrapper.

    Rather than the quote block, you would add to the list or paragraph block, depending on how you are creating your list. Then in your CSS you can target the block’s image.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.