BUTTON DESIGN

BUTTON DESIGN

lavly
Excursionist
43 0 4

How to change button style to rectangle?

lavly_0-1740126177437.png

to

lavly_1-1740126202386.png


+
why dmy buy now button text isn't on ceneter
please help me

 

here is my shop
plz check

ᒪᗩᐺᒪყ Official Website|ᒪᗩᐺᒪყ 公式HP| – Lavly

Replies 13 (13)

Dan-From-Ryviu
Shopify Partner
12040 2353 2530

Please add this code to Cutom CSS in Online Store > Themes > Customize > Theme settings 

.product-form__input--button input[type=radio]+label,
html #shopify-section-template--24258380923154__main .product-form__buttons button {
border-radius: 0 !important;
}
html #shopify-section-template--24258380923154__main .product-form__buttons button {
padding: unset;
}

Screenshot 2025-02-21 at 15.31.36.png

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

lavly
Excursionist
43 0 4

thanks, it works on preview
but when i press the save button, it;s impossible to save because of an error

Dan-From-Ryviu
Shopify Partner
12040 2353 2530

So please open theme.liquid file in Online Store > Themes > Edit code, after <head> add this code 

<style>
.product-form__input--button input[type=radio]+label,
html #shopify-section-template--24258380923154__main .product-form__buttons button {
border-radius: 0 !important;
}
html #shopify-section-template--24258380923154__main .product-form__buttons button {
padding: unset;
}
</style>

 

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

lavly
Excursionist
43 0 4

thank u it works!
but i want same height with this two button,

lavly_1-1740128308113.png

 


+
can you plz make it little shorter only on desktop?

B2Bridge
Trailblazer
365 75 94

Hi @lavly 
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code
2/ Search for "theme.liquid" file
3/ Open the file and search for </head> tag and add the following code above </head> tag
Here is the code for Step 3:

 

{% style %}
.product-form__buttons .product-form__submit{
    border-radius: 0!important;
}
.product-form__buttons .shopify-payment-button__button{
    border-radius: 0!important;
    padding: unset!important;
}
{% endstyle %}

 

 Screenshot_6.png

 If this helpful, please let us know by giving us a like and marking its as a solution. Thanks you 😍

B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.

lavly
Excursionist
43 0 4

thank you, it worked.
do you know how to make button shorter only on desktop, not mobile.

lavly_0-1740127246101.png

and i want to change this sku button too

 

and want to make shorter 

plz help me.

 

B2Bridge
Trailblazer
365 75 94

Hi @lavly 
Full code is:

{% style %}
.product-form__buttons .product-form__submit{
    border-radius: 0!important;
}
.product-form__buttons .shopify-payment-button__button{
    border-radius: 0!important;
    padding: unset!important;
}
.product-form__input > label {
    font-size: 12px!important;
}
{% endstyle %}



B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.

lavly
Excursionist
43 0 4

lavly_0-1740128026442.png

it changed wierd

B2Bridge
Trailblazer
365 75 94

 If this helpful, please let us know by giving us a like and marking its as a solution. Thanks you 😍

B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.

lavly
Excursionist
43 0 4

it isn;t what i want.
please check this img

lavly_0-1740128422885.png

this is what i want

 

LizHoang
Shopify Partner
1251 159 195

Hi @lavly 

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file theme.css and add this code at the end of the file

 

 

.product-form__buttons .product-form__submit{
    border-radius: 0 !important;
}
.product-form__buttons .shopify-payment-button__button{
    border-radius: 0 !important;
    padding: unset !important;
}

 

 

Result

 

LizHoang_0-1740127279317.png

 

Best,

Liz

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program
lavly
Excursionist
43 0 4

thank you, it worked.
do you know how to make button shorter only on desktop, not mobile.

lavly_0-1740127383847.png

 

and i want to change this sku button too

 

and want to make shorter 

plz help me.

 

LizHoang
Shopify Partner
1251 159 195

Hi @lavly 

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file theme.css and add this code at the end of the file

 

.product-form__input--button-circle input[type=radio]+label:not([data-swatch-type=variant_image],[data-swatch-type=color_swatch],[data-swatch-type=shopify_swatch],[data-swatch-type=text]) {
    border-radius: 20px !important;
}

 

Result 

LizHoang_0-1740133327609.png

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program