Hi – I want a border around some of the images on the site. Using TinyMCE Advanced, I added this to the HTML:
<img class="alignright size-medium wp-image-616" style="border-width: 1px; border-style: solid;" src="https ETC
I can see the border in the classic editor, but it doesn’t show up on the page. What can I do?
Hey d-mosseri,
Please try this instead:
style="border: 1px solid #000;"
Best regards,
Rikard
Hi Rikard – thanks for the response. That worked. Unfortunately, I’ll have to edit the HTML every time I need a border.
I don’t suppose you know of a plugin or editor that would generate that code automatically?
Hi,
Why don’t you just use css? This would only be efficient if the border applies to all the images. If not, you will still have to add a class to each image which is essentially still a process.
Best regards,
Jordan Shannon
Right. I can use CSS. I was trying to find a solution that didn’t require playing with code :-)
Hi,
Apologies, then yes otherwise the manual solution it is. Did you need additional help?
Best regards,
Jordan Shannon
No, Jordon. This issue is resolved, and thanks so much for your help.
Hi,
No problem at all. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon