Audio Player – How to customize Colors ?
-
Hi,
I would like to manage colors for, both, audio player and audio playlist, could you help me to do this ?
For the audio playlist:
– I would like to manage background color, to replace white and put orange for example, see :
For the audio player, I would like to customize colors too :
https://www.dropbox.com/s/djsvqgwiap4pm5t/Capture%20d%E2%80%99%C3%A9cran%202014-05-01%20%C3%A0%2015.00.21.pngThanks to you for your precious help,
DvisMusicPS : please note that my site is still in private option as it’s not ready to be public, regarding customization in process to fit my expectations.
The blog I need help with is: (visible only to logged in users)
-
There is an issue with audioplayers currently so you may want to read this thread https://en.forums.wordpress.com/topic/audio-player-changed-appearance/page/2?replies=33#post-1790818
-
For the audio player in posts and pages, add the following and see what you think.
.mejs-container .mejs-controls { background-color: #F4710A !important; }For the playlists, give this a look
.wp-playlist-light { background: #f4710a !important; } -
Thanks to the famous thesacredpath, this is doing what I want :
I have just a side effect with the widget player :
Here, the player as a strange brown color instead of the orange we parameter in the CSS customization …
– Could we do something to adjust the player color within widget ?
Dvismusic
-
Ah, let’s change the code I gave you to the following and change background-color to background instead. (There is a linear gradient set in one of the rules in the original CSS.}
.mejs-container .mejs-controls { background: none repeat scroll 0 0 #F68D3B !important; } -
-
You’re code is doing it ! Thanks to you
I have another a question where I try to find an answer, perhaps you could help me ?
I would like to set the hover color set when you choose an item in the menu generated for ipad and iphone, see :
The current selected item is in orange, I would like to have the hover color in red, when you choose a new item in the menu …
Do you know how to do ?
Thanks for your strong support,
DvisMusic -
Here you go. Make sure and try it out on a bunch of different pages and links. Twenty Fourteen is complex.
.primary-navigation a:hover { color: #C10026 !important; } -
Hi, I tried and It has a bad effect on pc version . . .
red character on red background :-( -
Hmmm, let’s clarify what you are wanting. Right now on your full menu the background for the menu items and submenu items are red and change to orange when you hover them. Is that what you are wanting on the minified menu on tablets and phones?
From what you said and your screenshot, I was thinking you wanted the hover color of the text to be red and then go orange when it is the current menu item.
-
Yes, that’s exactly what I want to do with minified menu on tablets and phones.
– Is it possible ?
Thanks to you for your clear analysis and great support,
Dvismusic -
Give the following a try. I’ve used a media query to limit the color change to the widths that the minified menu are active. Without that limitation, if you activate the minified menu and then widen your browser window to where the full menu is displayed, the minified menu changes bleed back through to the main menu. See what you think of the following.
@media screen and (max-width: 782px) { .primary-navigation.toggled-on a:hover { background: #F4710A !important; } .primary-navigation.toggled-on .nav-menu { background: #C10026 !important; } } -
Hi, thanks, I just tried your code, I finally use the following, this is doing what I want, having the chosen item of the minified menu on a red background :
@media screen and (max-width: 782px) {
.primary-navigation.toggled-on a:hover {
background: #C10026 !important;
}
}Last question on this issue, is it possible to limit the background color to the name of the item ?
-
Not sure I understand what you are wanting. Can you explain a little further, perhaps an example?
-
-
Hmmm, this can be done. Add this to the media query we have now.
.site-navigation a { display:inline-block; padding-left: 10px; padding-right: 10px }It will end up looking like this.
@media screen and (max-width: 782px){ .primary-navigation.toggled-on a:hover{ background:#C10026 !important } .site-navigation a { display:inline-block; padding-left: 10px; padding-right: 10px } } -
-
-
Hi,
Tomorrow, June 7, is the launch of my site DvisMusic.com, I really wanted to thank you for all your support and for allowing me to get the design I wanted to sparkle my music with the world ! Do not hesitate to visit my site and leave a comment sign of your visit!
I hope you like the result and also my music. . . Music is sharing!
Thank you again,
DvisMusic
More on dvismusic.com -
You are most welcome and I’m glad to have been able to help you get it looking just like you wanted it. I’m heading over to your site shortly to have a look and listen.
- The topic ‘Audio Player – How to customize Colors ?’ is closed to new replies.



