• Is there a way to style the style selector items (p, h1, h2, etc.) in the classic editor? Like, the actual drop down menu names. I have it set where I have a stylesheet for the admin editor which works fine but wondering about the actual selector items.

    • This topic was modified 3 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You can style the elements with admin CSS if there are not element style attributes that would override. For example, you can change the background color, but not the font style. Admin styles are not to be confused with editor styles. Admin styles are enqueued from the “admin_enqueue_scripts” action.

    There may be a way to alter the style attributes by altering the editor’s UI. Altering the editor is outside of my knowledge base. I know you can add other toolbar buttons. Not sure about altering existing ones.

Viewing 1 replies (of 1 total)
  • The topic ‘Can you style the style selector items in classic editor?’ is closed to new replies.