Title: How does &quot;style&quot; parameter work?
Last modified: August 20, 2016

---

# How does "style" parameter work?

 *  Resolved [stevebrooks](https://wordpress.org/support/users/stevebrooks/)
 * (@stevebrooks)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/how-does-style-parameter-work/)
 * 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/](http://wordpress.org/extend/plugins/mp3-jplayer/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Deskslider](https://wordpress.org/support/users/deskslider/)
 * (@deskslider)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/how-does-style-parameter-work/#post-3555719)
 * 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.
 *  [Deskslider](https://wordpress.org/support/users/deskslider/)
 * (@deskslider)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/how-does-style-parameter-work/#post-3555720)
 * figuered it out, or at least a hint to it: on the example page
    [http://sjward.org/jplayer-for-wordpress/](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/](http://www.audionstudio.nl/audion/workshopsjongeren/)
 * Good luck.
 *  Plugin Author [simon.ward](https://wordpress.org/support/users/simonward-1/)
 * (@simonward-1)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/how-does-style-parameter-work/#post-3555724)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/mp3-jplayer_c3a59d.svg)
 * [MP3-jPlayer](https://wordpress.org/plugins/mp3-jplayer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mp3-jplayer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mp3-jplayer/)
 * [Active Topics](https://wordpress.org/support/plugin/mp3-jplayer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mp3-jplayer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mp3-jplayer/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [simon.ward](https://wordpress.org/support/users/simonward-1/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/how-does-style-parameter-work/#post-3555724)
 * Status: resolved