Support » Fixing WordPress » Advanced Image-Text Block

  • What I want is a block which contains an imag and text going arround this image.
    An example you can see here: https://dlgo.de/image-text-block.jpg

    – I need to define the pklace of the image and alignement (left, center and right)
    – I need to define if I need with in px or % (related to the with of the content area) and the number I want for this image in px or %
    – I need to define the margin (top, right, bottom, left)

    All this three points needs to be an ioption in the block to set different case by case.

    Any idea how to solve this? I have checked addons for the editor, but didn’t found a right one and also no solution with the core blocks shipped with Gutenberg.

    • This topic was modified 1 year, 9 months ago by Sven74Muc.
    • This topic was modified 1 year, 9 months ago by Sven74Muc.
    • This topic was modified 1 year, 9 months ago by Sven74Muc.
Viewing 1 replies (of 1 total)
  • If you use the standard Image block and set the alignment (left, center, right) and then add a Paragraph block after it, this might work.
    Here is what it looks like in the Dashboard:
    https://imgur.com/a/0ivnB78
    (The text does wrap under the image on the front end).

    If you set an “Additional CSS class” for the image and another one for the Paragraph block you can then set the width and padding and margin in CSS.

Viewing 1 replies (of 1 total)
  • The topic ‘Advanced Image-Text Block’ is closed to new replies.