Support » Plugin: MP3-jPlayer » How does "style" parameter work?

  • Resolved stevebrooks


    On the shortcode for the playlist player, one of the parameters is:

    “style: css class names(s) to add”

    How does this parameter work? I’ve tried adding css class names like “margin” and “padding” to change the position of the player on the page. None of it has worked. The player stays in the same position. Here’s an example of the syntax I’ve tried:

    [mp3-jplayer tracks=”fileA.mp3, fileB.mp3″ style=”margin-right: 30px;”]

    Am I using the wrong syntax? How is the style parameter supposed to work?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes please Simon, I’m curious too. I have troubles to and need to change a left margin. Firebug says it’s in, so it’s somewhere inline. I’d like to try the shortcode style parameter, but we have no real syntax examples. I tried it too and can’t get it to work.

    figuered it out, or at least a hint to it: on the example page
    example 16 and 17, the style parameter is used. I used it to remove the ‘hide playlist’ button
    …..width=”165px” pos=”rel-R” list=”y” vol=”73″ style=”nolistbutton”]
    so probably it’s not a html css style thing as suggested in the help. I thought so too a couple of hours ago.
    This is what I know. I’m not sure where a list of possible parameters is, I believe it’s somewhere, look for it. (maybe do a text search in the plugin files for nolistbutton) If you find it, please add it here.

    Some people swear a littlebit at this plugin, but I spent a while to master this beast and now that I control it I’m quit proud of what I can do with it. Check my

    Good luck.

    Plugin Author simon.ward


    There’s now some help in 1.8.3, and a table listing the class names that i’ve added so far. The demo page has some example shortcodes using the style parameter, i’ll try improve it a little.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How does "style" parameter work?’ is closed to new replies.