Hi,
How I can add more buttons in block image-banner?
Shopify theme - Trade.
A user working with Shopify’s Trade theme wants to add more than the default number of buttons to the image-banner block.
Initial Solutions Provided:
image-banner.liquid file in the theme code"limit" parameter (typically set to 1 or 2) and increase it to the desired number (e.g., 3, 4, 5, or 6)Follow-up Issue:
After successfully adding multiple button blocks, the user reports that:
Status: The spacing and alignment issue remains unresolved. One contributor suggests creating a new thread for this secondary question to help other users find relevant solutions more easily.
Hi,
How I can add more buttons in block image-banner?
Shopify theme - Trade.
Hello, @Bezpallko
Please share “Store URL”
Thanks!
Hi @Bezpallko
To add more buttons to the image-banner block, you can follow these steps:
For a detailed walkthrough, please follow this screen recording I’ve prepared:
https://prnt.sc/St260jWDU–3
Feel free to reach out if you have further questions or need help implementing this!
Best regards,
Sadikur
Hello, @Bezpallko I’m sharing screen shot with you..
Go to the Online Store >>> Customize >>> Click on image banner, then follow these steps.
Step 1:
Step 2:
You can add 2 buttons on image banner
If you find my advice helpful please remember to LIKE and accept as SOLUTION.
Thanks!
Hi, Sadik_ShopiDevs
it really works, it is possible to add several blocks in multiples of 2 buttons. Help me also align all 6 buttons in one line and also make the same gaps between the buttons. As you can see from the photo, the blocks of buttons stick to each other.
thank you.
HI @Bezpallko
In the file image-banner.liquid, the button limit is currently set to 1. You can increase it to 2, 3, or 4, depending on your preference.
I hope this helps
Best,
Daisy
Hi.
it really works, it is possible to add several blocks in multiples of 2 buttons. Help me also align all 6 buttons in one line and also make the same gaps between the buttons. As you can see from the photo, the blocks of buttons stick to each other.
thank you.
Hi @Bezpallko
You can do that by editing the limit value under this line of code: ‘t:sections.image-banner.blocks.buttons.name’ in image-banner.liquid file in Sale Channels > Online Store > Themes > Edit code. Change this value to 3
HI @Bezpallko
To ensure that other users can find appropriate answers when searching for similar questions on the community, I will address your requests within your original goal.
If this resolves your issue, I will be grateful if you mark our answer as the solution.If you have another question, feel free to create a new thread and tag me. I’ll take a look and do my best to assist.
Best,
Daisy
thank you