Jump to content

Sticky Audio Player?

Recommended Posts

Hi @BaileyConstas, if you create a section at the top of each script page, and add an audio block, then add this code to the page header code injection, it should stay at the top of the page as you scroll down.

.page-section:nth-child(1) > .content-wrapper  {
   padding: 0px !important;
   min-height:5vh !important;
   overflow-x:hidden !important;
.page-section:nth-child(1) {
   position: sticky !important;
   position: -webkit-sticky !important;
   top: -2px;
   z-index: 9999;

You could also achieve it with a sticky sidebar like this:


Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

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.