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.

2 Likes

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!

1 Like

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

1 Like

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

1 Like

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)

1 Like

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

Where should I check please?

1 Like

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

1 Like

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

2 Likes

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.


1 Like

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