Audio Files

  • Unknown's avatar

    Can I add CSS code that will add more padding between audio files and the writing beneath them? You’ll see this in podcast posts and on the Podcast page. Would like more space between the horizontal audio player and the first line of writing below the player. Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    This will do the trick with the audio player I see in the most recent post on your site, using the audio shortcode in the Classic block:

    div.wp-audio-shortcode {
    	margin-bottom: 20px;
    }

    This will work for all the existing posts on your site, which I see were created in the classic editor.

    If you start publishing new posts, you’ll be using the block editor, and the audio block, instead of the shortcode. The Audio block automatically adds some spacing between it and the content, so you shouldn’t need separate CSS code for that.

  • The topic ‘Audio Files’ is closed to new replies.