WordPress.org

Ready to get started?Download WordPress

Forums

MP3-jPlayer
Center player (3 posts)

  1. rpOliveira
    Member
    Posted 3 years ago #

    I'm sure this is a simple issue but I'm not being able to solve it.

    I just want to have the player centered in the middle of the post.

    When I use this

    <div align= "center">[mp3j track="music.mp3"]</div>

    the player is centered but when I click play the slide and the progress bar appear on the left. How can I put all the player centered?

    Thanks.

    http://wordpress.org/extend/plugins/mp3-jplayer/

  2. simon.ward
    Member
    Plugin Author

    Posted 2 years ago #

    You can centre them with a div if you use css to control the div's margins, you must give the div a width though or it won't work. Eg inline css:

    <div style="width:200px; margin:0 auto 0 auto;">
     [mp3j..etc..]
    </div>

    slider/loader should be fine doing it this way, just you'll need to get the width about right for each div so they're properly centred as your player widths will vary depending on the title length.

    Simon

  3. rpOliveira
    Member
    Posted 2 years ago #

    Thanks a lot. It's working fine, now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic