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

Make product page 'purchase' button floating

Question

3 answers to this question

Recommended Posts

  • 1

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
.sqs-add-to-cart-button-wrapper {
    position: fixed;
    bottom: 0;
    z-index: 999;
    width: 100%;
    left: 0;
    right: 0;
}
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
Posted (edited)

Thanks @tuanphan that worked like a charm!

Do you know how I can vertically extend the white background I've put behind the button? And how I can make the button solid (eg. solid black button with white text)?

I've currently got:

@media screen and (max-width:767px) {
.sqs-add-to-cart-button-wrapper {
    text-align: center;
     position: fixed;
    background-color: #FFFFFF;
    bottom: 0;
    z-index: 999;
    width: 100%;
    left: 0;
    right: 0;
      box-shadow: 0px -0.1px 10px grey;
}
}

 

IMG-6199.thumb.png.be8aca0c21b9c0570080444e2615d80b.png

Edited by Niculeahwr

Share this post


Link to post
  • 0

background: black;

color: white;


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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