Jump to content

CSS code for Audio Blocks

Recommended Posts

Hello,

I am attempting to change the code for my Audio Blocks in the Fiver template to match my site colors (I use the audio blocks to post episodes of a podcast.)   I was able to change the background color of the main bar and the color of the tile font but can not  seem to change the author text color, play button or progress bar (one trick was to realize the title font was set for the LIGHT setting, not the DARK setting of Audio block).  Was hoping for some suggestions.  Here's the code I've been using and thank you in advance

Tim. 

 

.sqs-widgets-audio-player {
     background:  #2f518f !important;
     background: -webkit-linear-gradient( #2f518f) !important;
     border: 02px solid #fff952 !important;
     border-radius: 0px 0px 0px 0px;
     color:  #fff952;
   }
   .audio-author {
     color: #fff952 !important;
   }
   .audio-title {
     color: #fff952 !important;
   }
   .volume .bar.active {
     border-right-color: #fff952 !important;
   }
   .volume .bar {
     border-right-color: #fff952 !important;
   }
   .progress {
     background: none repeat scroll 0 0 #707070 !important;
   }
   .controls {
     color: #fff952 !important;
}

Screen Shot 2019-11-14 at 10.09.52 AM.png

Link to comment
  • 3 months later...
  • 4 weeks later...
1 minute ago, Claire_auck said:

I'd love to know if this is possible, did anyone figure this out?
I'm using podcasts for the first time and i'd love to be able to change the colour of the block to match my site.

Fingers crossed someone clever can help 😉 

If you share link to your site, I think i can give the code ✌️

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
2 minutes ago, Claire_auck said:

@tuanphan you are magic...... ✌️ Thank you for your help!!


https://meningitis-foundation.squarespace.com/what-is-meningitis
pa33word

 

Add to Home > Design > Custom CSS

.audio-block {
    background: green;
}

 

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
4 minutes ago, Claire_auck said:

I'd like to change the player itself. The only options in the settings are 'light & dark'. It would be great if the player itself could have a unique colour. 

.sqs-widgets-audio-player.dark {
    background: green;
}

 

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
  • 2 months later...
5 hours ago, camilla.ciappina said:

@tuanphan I've tried the second code on my website and it only shows the color and I am seeing as the editor mode. 

Am i doing something wrong?

https://trumpet-tulip-8chj.squarespace.com/the-card-that-means-what-it-says
password: portfolio

 

thanks!

Which code did you use?

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
  • 1 month later...
3 minutes ago, Dominikbel said:

Hi, I wondered if someone could help me out with this too. I've got a crazy font for the rest of my headings and wanted something clearer for my audio blocks.

If you share link to page where you use audio block. We can check easier.

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
  • 2 weeks later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.