Center player (3 posts)

  1. rpOliveira
    Posted 5 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?



  2. simon.ward
    Plugin Author

    Posted 4 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;">

    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.


  3. rpOliveira
    Posted 4 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