Jump to content

How to change the actual size of the Checkout button?

Recommended Posts

Posted (edited)

Site URL: https://alligator-dahlia-9b2w.squarespace.com/

Hi! 

I would like to change the size of the Checkout button (way too large at the moment) and same thing for the button that is shown when the cart is empty.

Can I edit the text that is automatically written on the button? Instead of 'page de paiement' I would like it to be 'procédez au paiement'.

If possible I would also like to decrease the text size of the subtotal amount. See attached images.

Thanks in advance 🙂

 

Screen Shot 2022-05-26 at 1.11.06 PM.png

Screen Shot 2022-05-26 at 1.02.01 PM.png

Edited by ChristineLYLA
Posted

Thanks a lot, it worked! 🙂

What about the button when the card is empty (second image), can I do the same with this one? I can't find the css code to target this one in particular...

 

Also, how can I update the text of the button?

 

Much appreciated 🙂

(if needed PW: rose)

Posted
On 5/27/2022 at 9:54 PM, ChristineLYLA said:

Thanks a lot, it worked! 🙂

What about the button when the card is empty (second image), can I do the same with this one? I can't find the css code to target this one in particular...

 

Also, how can I update the text of the button?

 

Much appreciated 🙂

(if needed PW: rose)

#1. Use this code

a.cart-continue-button {
    font-size: 10px !Important;
}

#2. You mean rename text?

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

Posted

Yes exactly! I'd love to rename the text of that button to something else.

I'm also looking to resize the button shown when the cart is empty (see attached image).

 

Thanks a lot for your help 🙂

 

1960934270_ScreenShot2022-05-26at1_02_01PM.thumb.png.0050a02cc9f3efa22c13871e8164b5ca.png

Posted
On 5/29/2022 at 9:58 PM, ChristineLYLA said:

Yes exactly! I'd love to rename the text of that button to something else.

I'm also looking to resize the button shown when the cart is empty (see attached image).

 

Thanks a lot for your help 🙂

 

1960934270_ScreenShot2022-05-26at1_02_01PM.thumb.png.0050a02cc9f3efa22c13871e8164b5ca.png

Above code doesn't work?

With rename, you want to rename empty page button or checkout button?

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

Posted

Sorry I totally missed the previous code, it worked perfectly, thanks a lot! 🙂

 

I want to rename the check out button. Instead of 'page de paiement' I would like to replace it with 'procédez au paiement'.

Posted

Add to Last Line in Settings > Advanced > Code Injection > Footer

<script>
  $(document).ready(function() {  
		$("button.cart-checkout-button").html(function() { 
          return $(this).html().replace("Page de paiement", "procédez au paiement");  
    });
	});
</script>

 

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

  • 2 months later...
Posted
On 8/3/2022 at 6:08 AM, tilegore said:

Hey @tuanphan! 🙃 Taking advantage of the topic, could you help me to resize the checkout button? Follow the link:
https://www.dextersupplier.com/cart

I would like to make it identical to the "add to cart" button and I haven't been able to... Thanks in advance... 🙏

Can you share link to a product? We can add it to cart to able to see checkout button

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

Posted
On 8/7/2022 at 1:23 AM, tilegore said:

Add to Design > Custom CSS

/* checkout button */
button.cart-checkout-button {
    font-size: 17px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

 

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.