How to place the button next to each other.

Solved

How to place the button next to each other.

PedroPrado
Explorer
48 0 7

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 Partner
2305 835 907

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 

 

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

View solution in original post

Made4uo-Ribe
Shopify Partner
10036 2385 3012

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 8 (8)

suyash1
Shopify Partner
10691 1316 1696

@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;}
Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

BSSCommerce-HDL
Shopify Partner
2305 835 907

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

PedroPrado
Explorer
48 0 7

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

PedroPrado
Explorer
48 0 7

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 Partner
2305 835 907

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

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

PedroPrado
Explorer
48 0 7

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

PedroPrado_0-1718723654085.png

 

BSSCommerce-HDL
Shopify Partner
2305 835 907

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 

 

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

Made4uo-Ribe
Shopify Partner
10036 2385 3012

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.