Custom Image caption formatting not working on block editor
-
Hello!
I hope you’re doing well.The new posts that I’m creating in wordpress using BLOCK EDITOR are not formatting my image captions in the same way that it has been for all my previous posts (which were using classic editor).
For instance, in [ redundant link removed ] post, when I switched to block editor, it changed the formatting of the image caption (I.e., it’s not showing as gray, italicized, centered, smaller font size).
Even now, if I create a post using the classic editor, the image caption formatting is showing properly… so basically, can you please provide the custom CSS coding That I need to add to [Wordpress.com > Appearance > Customize > Custom CSS] in order to get the image caption to show properly when using block editor?Also, the posts currently in my drafts are also not formatting the image captions properly when I preview them. All of these draft posts are using block editor.
Hopefully you can see the code editor for those on the website, otherwise I can send it!
Here’s the custom CSS coding for image captions that’s currently in [Wordpress.com > Appearance > Customize > Custom CSS] … which is obviously only working for classic editor.
} .wpb_single_image .vc_figure-caption { text-align: center; font-size: 13px; font-family: karla; font-style: italic; color: #888282; } .wp-caption p.wp-caption-text { font-size: 13px; margin-top: 5px; font-family: karla; color: #888282; }
Thank you
- This topic was modified 5 years, 1 month ago by . Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘Custom Image caption formatting not working on block editor’ is closed to new replies.