Jump to content

Customizing CSS for audio block in wells

Recommended Posts

Hey all,

site: https://caterpillar-porpoise-glck.squarespace.com/

password: thanks!

I want to customize the audio block on my site. I was able to get the background color to change by using the code:

.sqs-widgets-audio-player.light {
    background: #f9c365;
}

But I can't seem to figure out how to customize the code to make the play button, title, and time lapsed font a different color other than the basic black. Any help is appreciated. Thanks!

Link to comment
  • Replies 6
  • Created
  • Last Reply
6 hours ago, morganrjaffe said:

@tuanphan

 

Hi! Sorry to bother you, but you seem very knowledgeable. I got the background color to change but I need help to customize the audio block code to make the play button, title, and time lapsed font a different color other than the basic black. Any advice? Thanks!

  •  

Add to Cover Page Settings . Advanced > Header

<style>
.track-title a {
    color: red !important;
}
.track-progress-bar .bg.bar {
    background: red !important;
}
.track-time {
    color: Red !important;
}
.sqs-slide-wrapper[data-slide-type="cover-page"] .audio-player-icons-style-border [data-slice-type="album"] .icon-wrapper .use-icon {
    fill: green !important;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
14 hours ago, morganrjaffe said:

@tuanphan

Sorry - I don't want to change the audio block on the cover page. What would the code be that I can put into the "Custom CSS" page that would change an audio block that I put on any page and/or blog post?

Thanks!

Add to Home > Design > Custom CSS

.track-title a {
    color: red !important;
}
.track-progress-bar .bg.bar {
    background: red !important;
}
.track-time {
    color: Red !important;
}
.audio-player-icons-style-border .icon-wrapper .use-icon {
    fill: green !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.