narrative theme image with text | add second button

Topic summary

A user wants to add a second button to the ‘Image with Text’ section on their Narrative theme homepage, either below or alongside the existing button.

Solution Provided:

  • Add schema code to create a ‘Second Button Link’ field
  • Insert conditional section code to display the second button with proper styling
  • Configure the new button through theme settings

Current Issue:
After implementing the code, the ‘Second Button Link’ field appears in settings, but:

  • No input field exists for the secondary button label
  • Only one button displays on the page

The implementation appears incomplete—the schema likely needs an additional field for the button label text (similar to button_label_2), not just the URL. The user is awaiting further guidance to resolve the missing label input and button display.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hi there,

I’ve like to add a second button on my ‘image with text’ section on my home page - either below or alongside the current button. See screenshot. My theme is ‘narrative’, and would appreciate any advice on what code tweaks or additions can be made to achieve this.

Thank you!

Jules

Hi @JulesKennedy ,

I hope this message finds you well.

To add a second button to your Image with Text section, you can simply copy and paste the existing button code and modify it accordingly. If you’re looking for a structured approach, you can follow these steps:

schema code:

{
“type”: “url”,
“id”: “button_link_2”,
“label”: “Second Button Link”
}

Image with text file:

section code:

{% if section.settings.button_label_2 != blank %}

{{ section.settings.button_label_2 }}

{% endif %}

This will give the buttons a clean and aligned look.

After implementing these changes, you should be able to configure the second button through your theme settings. Hope this helps! :rocket: Let me know if you need further assistance, and the community will be happy to help. :blush:

Regards,

Thanks so much for the assistance! I’ve added in the code in, but I think I may have made an error somewhere. “Second button link” now appears as an option in the section, but there isn’t anywhere to input a secondary button label, and it’s still only showing a single button. Any help to fix would be much appreciated!