Hi everyone! Any help is much appreciated. What code can I insert to fix missing button label when “enable swipe on mobile” is checked in multicolumn section? I’m using Dawn theme 10.0.0.
Topic summary
Issue: In the Dawn 10.0.0 theme’s Multicolumn section, the “button label” disappears on mobile when “enable swipe on mobile” (mobile slider) is turned on.
Explanation: The theme’s logic hides the button_label if a slider isn’t needed on mobile (e.g., all columns fit). With a slider enabled, the button is expected at the top-right; without it, the button should appear below the columns (as on desktop).
Proposed fix: Edit Sections/multicolumn.liquid and remove “and show_mobile_slider” from line 38 to force the button_label to always show. An attached image highlights the relevant code.
Latest update: After removing “and show_mobile_slider,” the button still does not appear on mobile for one user.
Outcome: No resolution yet. The suggested code change did not fix the issue, indicating potential site-specific behavior or additional conditions affecting visibility.
Status: Ongoing. Further investigation is needed to determine why the button remains hidden on mobile despite the edit.
The logic in the code seems to be that if there is no slider on mobile (i.e.: all columns fit without needing a slider), it hides the “button_label” element.
You can override this by editing the file “multicolumn.liquid” under the Sections folder in the Code Editor.
On line 38, remove the text “and show_mobile_slider”.
That should force the button label to always show.
(see highlighted code in the attached image)
The button should be appearing below the columns anyway, as it does on desktop.
If the slider is enabled, it moves to the top right of the section.
Is something different happening on your site?
I try to removed the text on the line 38 “and show_mobile_slider”, but still doesn’t show the button on the mobile.
