How to place the button next to each other.

Solved

How to place the button next to each other.

PedroPrado
Excursionist
40 0 6

I want one of the buttons on the right and one on the left.

PedroPrado_0-1718721956315.png

I would also like to know how to reduce the size of this button. It is too big for the text.

my shop: https://mi8w9lspkvkx4fju-78296449301.shopifypreview.com

Accepted Solutions (2)
BSSCommerce-HDL
Shopify Expert
981 328 381

This is an accepted solution.

Hi @PedroPrado

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

BSSCommerceHDL_0-1718723778188.png

Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid

BSSCommerceHDL_1-1718723843649.png

Step 3: Insert the below code at the bottom of the file -> Save

 

 

.rich-text__buttons.rich-text__buttons--multiple {
    flex-wrap: nowrap !important;
}

 

 

BSSCommerceHDL_3-1718723968773.png

Hope this can help you 

 

 

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Made4uo-Ribe
Shopify Partner
6827 1627 2006

This is an accepted solution.

Hi @PedroPrado 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.rich-text__buttons {
    max-width: 100%;
}
.rich-text__buttons a.button:first-child {
    padding: 0px;
}

 

And Save. 

Result:

Made4uoRibe_0-1718724611161.png

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 8 (8)

suyash1
Shopify Partner
9527 1190 1528

@PedroPrado - add this css to the end of your base.css file and check

#shopify-section-template--21856293880085__rich_text_cmJTJN .rich-text__buttons{flex-wrap: nowrap !important;}
To build shopify pages use pagefly
You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Support me

BSSCommerce-HDL
Shopify Expert
981 328 381

Hi @PedroPrado

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

BSSCommerceHDL_0-1718722622403.png

 

Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid

BSSCommerceHDL_1-1718722628011.png

 

Step 3: Insert the below code at the bottom of the file -> Save

.rich-text__buttons.rich-text__buttons--multiple {
    flex-wrap: nowrap !important;
}

Here is result: 

BSSCommerceHDL_2-1718722687924.png

Hope this can help you,

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

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
PedroPrado
Excursionist
40 0 6

I know almost nothing about css or html or how to use shopify's codes. Please be more specific.

PedroPrado
Excursionist
40 0 6

I didn't understand the part "Step 3: Insert the below code at the bottom of the file -> Save". 
Where is the file the button I want?

BSSCommerce-HDL
Shopify Expert
981 328 381

Hi @PedroPrado, Can you take a screenshot of the css file you currently have?

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
PedroPrado
Excursionist
40 0 6

HI,  I don't understand if this is what you asked me to do.

PedroPrado_0-1718723654085.png

 

BSSCommerce-HDL
Shopify Expert
981 328 381

This is an accepted solution.

Hi @PedroPrado

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

BSSCommerceHDL_0-1718723778188.png

Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid

BSSCommerceHDL_1-1718723843649.png

Step 3: Insert the below code at the bottom of the file -> Save

 

 

.rich-text__buttons.rich-text__buttons--multiple {
    flex-wrap: nowrap !important;
}

 

 

BSSCommerceHDL_3-1718723968773.png

Hope this can help you 

 

 

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

Made4uo-Ribe
Shopify Partner
6827 1627 2006

This is an accepted solution.

Hi @PedroPrado 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.rich-text__buttons {
    max-width: 100%;
}
.rich-text__buttons a.button:first-child {
    padding: 0px;
}

 

And Save. 

Result:

Made4uoRibe_0-1718724611161.png

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.