Audio widget: add caption
-
I want to adjust the look of the ‘Add caption’ (wp-element-caption) text in the WP Audio widget. I have it in my sidebar.
– Specifically, I want to enlarge the text so that it is closer to that font size on the site’s pages/posts.
– There are some very basic edit buttons on the widget but none for text size. There is drop-down access to some html code to edit manually but u have not manage to tweak the font size.
– Has anyone here successfully edited this widget’s caption-font?The blog I need help with is: (visible only to logged in users)
-
Accepted answer
Hi, there isn’t really a direct way to enlarge the text size of the captions on audio widgets; you’d be looking at using CSS to get it done.
You could try adding the following to your Additional CSS section of the Customizer (Appearance > Customize) and this should affect the size of all captions on audio blocks (in the sidebar or elsewhere):
/*Enlarge audio block caption sy*/ .wp-block-audio .wp-element-caption { font-size: 16px; } -
Thank you.
Thank you.
That worked just as you described it; I tweaked the font size from 16px to 18px.
You made it so straightforward.
Thank you.
(As you can tell I am feeling childishly happy with the outcome. Thank you!)
- The topic ‘Audio widget: add caption’ is closed to new replies.