Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thanks to this thread, I was finally able to do this. Since I was working within a columns block, I inserted the content into one of the columns to act as the container. In case someone wants to wrap text around an image, below are the steps I took.
    1. Insert an image into a container (group or columns block) and from the toolbar in the preview screen, select the desired alignment.
    2. Insert the paragraphs below or above the image, depending on the image alignment that was selected.
    3. Play around with the image width. Enter the width in the settings ribbon, instead of the dimensions ribbon. Alternatively, use custom CSS to target width using clamp().
    4. Margin between the image and text is set with the figure tag and not the img tag, so custom CSS is needed if you want to target that.

    Some things in WP are just no intuitively designed. Once I saw that Media & Text block wasn’t an actual text wrap, I figured it wasn’t possible to do without custom HTML and CSS. So, I spent hours within the last two days. The alignment options should be moved to the settings area and be prominently displayed right above or below the width and height row. Moreover, WP should consider providing a block called “wrap text” or “float image” that is similar to the Media & Text block but uses float. Also, it would be good if we could target the margin directly in the editor which I think would mean moving the margin setting to the img tag or allowing the figure tag to be edited.

Viewing 1 replies (of 1 total)