How do I insert a border around an image?

  • Unknown's avatar

    Before the recent change in WP image editing, I could insert a border around an image. (It was in the Advanced tab.) Now I can’t figure out how to do it in the image editor. I just copied the code from an earlier post — it worked! — but I’d love to be able to do it in the image editor again.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there!

    There were some recent changes to the Visual and Image Editor as explained here:

    Introducing Smoother Editing and New Playlists

    You are correct;≤ the option to edit the border value has been removed. You can remove or add the border by inserting border=0px in the HTML as shown here:

    <img class="alignleft size-large wp-image-15039" src="URL" alt="Featured Image -- 15038" width="584" height="389" border="0px" />

    Just adjust the number 0 to how thick you want the border to be. To be clear, you will need to adjust the image code in the Text Editor. This is explained here:

    Types of WordPress Editors

    Let me know if you have any additional questions!

  • The topic ‘How do I insert a border around an image?’ is closed to new replies.