RE: WP Audio – Custom player Width
-
Hello,
I struggled with this for a while – looking for the place to customize the player bar width.
1: I went to:
Plugins >> Editor >> wpaudio-mp3-player/wpaudio.min.js
2: I added a CSS width attribute in all four of these places:
‘.wpaudio-container’:{display:’inline-block’,’font-family’:’Sans-serif’,’line-height’:1,’*display’:’inline’,zoom:1,width:’600px’}
‘.wpaudio-container a’:{color:_wpaudio.style.link_color,’text-decoration’:’none’,width:’600px’}
‘.wpaudio-container .wpaudio’:{‘font-family’:_wpaudio.style.text_font,’font-size’:_wpaudio.style.text_size,’font-weight’:_wpaudio.style.text_weight,’letter-spacing’:_wpaudio.style.text_letter_spacing,width:’600px’}
‘.wpaudio-bar’:{position:’relative’,margin:’2px 0 0 19px’,height:’5px’,’font-size’:’1px’,background:_wpaudio.style.bar_base_bg,width:’600px’}
3. Save changes to wpaudio.min.js, and refresh the page you have audio files on.
That’s it! This did the trick for me. I may have gone overkill specifying it four times, but once I got the desired result I stopped fiddling ??
Hopefully this saves someone out there a little bit of time. It’s a nice clean audio player and it would be a shame if it was abandoned.
Best Regards,
Mike
- The topic ‘RE: WP Audio – Custom player Width’ is closed to new replies.