Image Border
-
Hi,
I just want to add a simple image to a border. But it seems with Gutenberg this is not so simple. I have an image that is left-aligned with text on the right. If I add custom CSS to create a border for that image, it seems to apply the border to the whole block (and not the image), and then only at the top.
Alternatively, if I just add to the IMG tag within the HTMl (e.g.”style=border: 1px solid #cecece”), then WP doesn’t like it, and asks me to resolve the code or convert to HTML (the latter works, but from that point on you have to deal with code instead of WYSIWYG, so it’s not ideal).
Any suggestions? Why is such a simple thing causing so much hassle?
Thanks,
Gareth.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Image Border’ is closed to new replies.