Jump to content

CSS code for Audio Blocks

Recommended Posts

Posted

@ashleemundywebsitede

Add the following to Design > Custom CSS.

.sqs-widgets-audio-player .player {

  font-size: 20px;
  
  }

.sqs-widgets-audio-player .title-wrapper .title {

  font-size: 1.2em;
  line-height: 1.1em;
  
  }

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

  • 3 months later...
Posted

@JHoward

Please post the URL for the page where you want to accomplish this effect.

If your site is not public please set up a site-wide password, if you've not already done so. Post the password here.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

  • 4 months later...
  • Susana_SQSP changed the title to CSS code for Audio Blocks
  • 8 months later...
  • 4 months later...
Posted
On 8/18/2022 at 5:47 PM, iJizzy1 said:

Hello there, Is it possible to change the size of the audio block only on mobile ?

Thank you for your help. 🙂

https://brondyhumphrey.com/photographies/photographie-les-sables-olonne
psw: pure

You mean reduce width or?

image.png.4894f6c77a5f2ce301e0bb4875ca7c8b.png

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!)

  • 9 months later...
  • 6 months later...
Posted (edited)

Hey @tuanphan, do you have code to change the colour of the play button? I've tried to find the element ID using inspect tool but can't isolate it from the rest of the player block. I'd be grateful for your help as I have managed to make the other changes I need. thanks

 

I figured it out, here is my code for anyone else that may need it:

//*audio block tweaks*//
.sqs-widgets-audio-player.dark {
    background: black;
      color: #F8CB3D !important;
      font-family: 'Overpass Mono';
      font-size: 16px;
      font-weight: bold;
}
.sqs-widgets-audio-player.dark .play .play-button {
    border-left-color: #F8CB3D !important;
}

Note: it wasn't possible to isolate the element .play-button because I had no files uploaded yet and so inspect tool could not see that button. When I added trackes, problem solved!

Edited by zoester300
found solution
Posted
On 1/10/2024 at 6:00 PM, zoester300 said:

Hey @tuanphan, do you have code to change the colour of the play button? I've tried to find the element ID using inspect tool but can't isolate it from the rest of the player block. I'd be grateful for your help as I have managed to make the other changes I need. thanks

 

I figured it out, here is my code for anyone else that may need it:

//*audio block tweaks*//
.sqs-widgets-audio-player.dark {
    background: black;
      color: #F8CB3D !important;
      font-family: 'Overpass Mono';
      font-size: 16px;
      font-weight: bold;
}
.sqs-widgets-audio-player.dark .play .play-button {
    border-left-color: #F8CB3D !important;
}

Note: it wasn't possible to isolate the element .play-button because I had no files uploaded yet and so inspect tool could not see that button. When I added trackes, problem solved!

2-3 weeks ago I just solved a same case on forum, you try searching again on forum

Or share link to page where you have problem, I can inspect code 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!)

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.