• Resolved stevebrooks

    (@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?

    Thanks.

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

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 element.style, 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
    http://sjward.org/jplayer-for-wordpress/
    example 16 and 17, the style parameter is used. I used it to remove the ‘hide playlist’ button
    like
    …..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
    http://www.audionstudio.nl/audion/workshopsjongeren/

    Good luck.

    Plugin Author simon.ward

    (@simonward-1)

    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.