We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Bypassing limit of 2 button per rich text

Bypassing limit of 2 button per rich text

GS06
New Member
5 0 0

Hello.

I want to add 3 buttons next to each other while using rich text but the limit is 2, how can i fix this

Replies 4 (4)

topnewyork
Astronaut
1552 191 253

Hello,
Please share "Store URL"
Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

BlackCro
Shopify Partner
103 19 19

Can do achieve this by navigating to Online Store, 3 dots, edit code. Then locating rich-text.liquid inside which you need to scroll down to the Schema to find the button declaration. Here you can either increase the limit number, or delete the line of code entirely. 

 

Screenshot 2024-12-10 at 10.20.51.png

 

Hope this helps

Simon

BlackCro.co.uk

CRO & Development Agency



Better Forms - Get a better contact form today!
GS06
New Member
5 0 0

Thank you so much simon. I had been stuck on this a while.

Is there anyway also to change the location of the buttons?! Like 3 next to each other and 3 below.

 

Thank you for your time.

Highly appreciated 

BlackCro
Shopify Partner
103 19 19

If I'm understanding correctly, yes. It would be possible to duplicate the secondary button code to allow you to add a third button in the row. This would require an additional schema element to be included, for the button title and link to still be accessible via the customization menu. 

Get in touch and I can offer a quote to complete this work for you.

 

BlackCro.co.uk

CRO & Development Agency



Better Forms - Get a better contact form today!