• Hi, I’m using the Classic Editor, and evidently my theme needs to use the following for an image border:

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

    Is there any way to make TinyMCE generate that code rather than:

    style="border-width: 1px; border-style: solid;"

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    Generally the borders are defined in CSS and are set in your theme. There style.css is used on the front-end and editor-style.css for inside the classic editor.

    If there’s no editor-style.css in your theme, you can create a child theme and add one (it needs a bit of coding but is not hard and very well documented on wp.org and other places).

Viewing 1 replies (of 1 total)
  • The topic ‘Can I change the border code?’ is closed to new replies.