Add a button for each column in Multicolumn section - Dawn 2.0

Please help with adding a button for each column in Multicolumn section - Dawn 2.0.

Thank you.

@Ortaliza

  1. Go to your store click on Actions > Edit Code

  2. Find ā€˜multicolumn.liquid’ file and replace whole code with this code.

Regards

Twinkle


If helpful then please Like and Accept Solution.

Awesome @Savior thank you so much!

I did this and was very helpful, thank you so much. But now my buttons are not active. Can you please let me know how to make them active? Here’s my website: https://www.theholaclub.com/ under the multicolumn session for the type of subscriptions.

Hello @damanahi

Glad to know that my solution worked for you.

Can you explain in detail what issue you are facing? with a screenshot

I just fixed it! My buttons were not active, but thank you!

Hey! How did you get your buttons to be active? I’m having the same issue you had. Thanks!

Added the code and its worked but after adding the button label and URL link the button still isn’t active

Hello, I’ve applied the code to my theme, the buttons appeared but are no longer active. How do I fix this issue?

Hi - I’ve used this code as well. Thank you for the edit! However, my buttons are not active either (like previous comments.) How can I fix this? (see screenshot)

Many thanks for this solution. I now have buttons in my columns. However they are not active or clickable.

Where should I check please?

The buttons are not active, does anyone have a solution to this? Thank you

Hi, used this but buttons are not active. How to fix this?

I just found the solution guys! In the code provided on row 67 there is a line

if section.settings.col_button_link == blank and also href=ā€œ{{ section.settings.col_button_link }}ā€{% endif %}. Where it says ā€œsectionā€ it should be ā€œblockā€. Change that and it should work! Let me know if it fixed the problem for you

thank you Olvier_ced it works for me. I left the code in this way

<a class=ā€œbutton button–primaryā€{% if block.settings.col_button_link == blank %} aria-disabled=ā€œtrueā€ role=ā€œlinkā€{% else %} href=ā€œ{{ block.settings.col_button_link }}ā€{% endif %}>
{{ block.settings.col_button | escape }}

Hi, can you tell me how to add a read more option in multi-column section?

I used this code and it worked. Changed the code in ā€˜multicolumn.liquid’ I think line 108 is where I started replacing.


Hi, I have just seen this and am hoping some one can assist with how to move the button to the center of the image?

Thanks

I would like to have the buttons aligned. In the screenshot below, I would like to have the green buttons ā€œat the same heightā€ in the column.

Thank you

I used the code and fix you provided. it worked BUT I have now 2 rows of 2 columns instad of 4 columns. any hint on how to fix this?

other issue: i can’t edit the numbers of columns

https://lr7hxjdoww8gwaqi-67050963196.shopifypreview.com