Jump to content

Force Button to stay on top (mobile version

Recommended Posts

Hi

Use this code in Design -> Custom CSS

@media screen and (max-width:640px){
div#block-yui_3_17_2_1_1597346525846_18581 {
    position: absolute;
    top: 7px;
    z-index: 9999999;
    right: 50px;
}

div#block-yui_3_17_2_1_1597346525846_18581 .sqs-block-button-element--small {
    background-color: transparent !important;
    border: 1px solid white;
}
}

Please use the like button if it helps you!

Best,
Leopold

Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

Link to comment
  • 1 month later...
On 9/10/2020 at 11:17 AM, IXStudio said:

Hi

Use this code in Design -> Custom CSS


@media screen and (max-width:640px){
div#block-yui_3_17_2_1_1597346525846_18581 {
    position: absolute;
    top: 7px;
    z-index: 9999999;
    right: 50px;
}

div#block-yui_3_17_2_1_1597346525846_18581 .sqs-block-button-element--small {
    background-color: transparent !important;
    border: 1px solid white;
}
}

Please use the like button if it helps you!

Best,
Leopold

Is there a way to make this happen on ALL pages without individually figuring out the ID for every button?

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.