• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Change WP audio player size?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Change WP audio player size?

This topic is: not resolved

Tagged: audio player, change size

  • This topic has 5 replies, 2 voices, and was last updated 11 years, 3 months ago by AnitaC.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • March 12, 2014 at 6:51 am #94397
    alfredo
    Member

    Hi,

    I'm working on a blog where there'll be one or more WP audio players per post. The default audio player stretches all across the post page, this makes it look a bit "heavy" on the eyes. I guess it may be possible to control the player size with css?
    Could you please shed some light on this? I'm not a CSS expert, but I'm comfortable adding changes to the CSS file.
    My theme is eleven40 Pro. Latest WP version. All up-to-date.

    Thanks in advance for your help.

    March 12, 2014 at 7:32 am #94406
    AnitaC
    Keymaster

    Please share a link to an example so we can see what you are working with.


    Need help with customization or troubleshooting? Reach out to me.

    March 12, 2014 at 11:50 am #94469
    alfredo
    Member

    Hi, thanks for your reply, here's a link: http://vocabupedia.com/imagen-1/

    March 12, 2014 at 12:00 pm #94474
    AnitaC
    Keymaster

    Ok, try adding a width inside the shortcode , say - width="300" and see if it resizes it.


    Need help with customization or troubleshooting? Reach out to me.

    March 12, 2014 at 12:45 pm #94487
    alfredo
    Member

    Thanks for your reply.

    Is this the right way to add your code?

    [audio mp3="http://vocabupedia.com/wp-content/uploads/2014/03/puente_peru.mp3" width="300"][/audio]

    By the way, with firebug I found this, it's the div where the player is located:

    <div id="mep_0" class="mejs-container svg wp-audio-shortcode mejs-audio" style="width: 100%; height: 30px;">

    The width is set to 100%...if I change this will the size of the player change? Where can I find this line of code?

    Thanks!!

    March 12, 2014 at 12:57 pm #94493
    AnitaC
    Keymaster

    Yes for the short code. The CSS you are seeing is the CSS within the plugin. You can copy that into your style.css file and edit it there.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble