Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Force Button to stay on top (mobile version


IanBanker

Question

Site URL: https://santisuk.org

Hi,

Is there a way to force a button to always stay on top of the page in mobile view? We have both thai and english copies of our pages - I would like the translate button to be immediately accessible on the phone/tablet.

Thanks!

 

Link to post
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular 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; r

Posted Images

5 answers to this question

Recommended Posts

  • 0

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 post
  • 0
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 post

Create an account or sign in to comment

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


×
×
  • Create New...