WordPress.org

Ready to get started?Download WordPress

Forums

Flash MP3 Player
[resolved] Using Class to position the player (4 posts)

  1. audiofactory
    Member
    Posted 2 years ago #

    Hi Guys

    I no you can set a class for each player. Where do I put the class style and what format can I use?

    Has anyone used the class feature/

    Also what is the purpose of using the ID?

    Thanks

    Dave

    http://wordpress.org/extend/plugins/flash-mp3-player/

  2. Charles Tang
    Member
    Plugin Author

    Posted 2 years ago #

    if you use the class feature, the wrapper of the player will look like this

    <div class='my-specific-class'>
    blah blah blah ....
    </div>

    so is the id(Note: every id must be unique on whole page):

    <div class='my-specific-class' id='my-specific-id'>
    blah blah blah ....
    </div>

    both of them help you to customize the player with CSS.

    you can put the code on you <head> section like

    div.my-specific-class {
    position: absolute;
    top:100px;
    left:100px;
    }

    or like this:

    #my-specific-id {
    position: absolute;
    top:100px;
    left:100px;
    }
  3. Jon Fergus
    Member
    Posted 2 years ago #

    Charles, do I need to enter this differently in the CSS for the sidebar widget?
    I'm trying to horizontally center the player in the sidebar. Any help would be appreciated.

  4. audiofactory
    Member
    Posted 1 year ago #

    Thank you that's very helpful.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic