Re: Fix add to cart border right

Solved

Fix add to cart border right

XtendShop123
Tourist
7 0 2

How can I fix this problem with right border in my Add to cart button?
Link: https://aece00-f4.myshopify.com/products/lascoota-kick-scooter-for-kids-ages-6-teens-adults-large-8-...

XtendShop123_0-1725812151388.png

 

Accepted Solution (1)
BSSCommerce-B2B
Shopify Partner
1972 564 568

This is an accepted solution.

@XtendShop123 ,  you can change the previous code like this:

<style>
.productView-share.style-2 .share-button__button {
    height: 50px;
    margin: auto 10px;
    padding: 0!important;
}
</style>

Result:

BSSCommerceB2B_1-1725813778881.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 10 (10)

BSSCommerce-B2B
Shopify Partner
1972 564 568

@XtendShop123, could you kindly share your store password? 

BSSCommerceB2B_0-1725812440314.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

XtendShop123
Tourist
7 0 2

Oh sorry, this is my store password: aublee

BSSCommerce-B2B
Shopify Partner
1972 564 568

@XtendShop123,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code before </body>

 

<style>
.share-button__button.button {
    margin: auto 10px;
}
</style>

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

XtendShop123
Tourist
7 0 2

@BSSCommerce-B2B , thank you it worked. But I don't want my add to cart button to shrink in width.

BSSCommerce-B2B
Shopify Partner
1972 564 568

This is an accepted solution.

@XtendShop123 ,  you can change the previous code like this:

<style>
.productView-share.style-2 .share-button__button {
    height: 50px;
    margin: auto 10px;
    padding: 0!important;
}
</style>

Result:

BSSCommerceB2B_1-1725813778881.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

XtendShop123
Tourist
7 0 2

Thanks! that worked 🙂

BSSCommerce-B2B
Shopify Partner
1972 564 568

@XtendShop123 , Glad to help you bro 😍

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

BSS-TekLabs
Shopify Partner
2401 695 835

hello @XtendShop123 . can you share your password

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2401 695 835

- Here is the solution for you @XtendShop123 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

<style>
@media only screen and (min-width: 600px) {
button.share-button__button.button {
    margin-left: 15px !important;
}
}
</style>

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2401 695 835
<style>
@media only screen and (min-width: 600px) {
button.share-button__button.button {
        z-index: -1 !important;
}
}
</style>

Or can you try this code @XtendShop123 

BSSTekLabs_0-1725813340373.png

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now