Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1124010

    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?

    • This topic was modified 5 years, 3 months ago by d-mosseri.
    #1124102

    Hey d-mosseri,

    Please try this instead:

    style="border: 1px solid #000;"

    Best regards,
    Rikard

    #1124204

    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?

    • This reply was modified 5 years, 3 months ago by d-mosseri.
    #1124233

    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

    #1124271

    Right. I can use CSS. I was trying to find a solution that didn’t require playing with code :-)

    #1124278

    Hi,

    Apologies, then yes otherwise the manual solution it is. Did you need additional help?

    Best regards,
    Jordan Shannon

    #1124279

    No, Jordon. This issue is resolved, and thanks so much for your help.

    #1124281

    Hi,

    No problem at all. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Enfold is ignoring img border’ is closed to new replies.