Open footer menu link in a new tab (dawn theme)

Topic summary

A user asks how to make social media links (LinkedIn, Twitter, Instagram) in the Dawn theme footer open in new tabs.

Proposed Solution:

  • Navigate to Online Store → Theme → Edit code
  • Open Sections/footer.liquid file
  • Search for ‘list-menu__item–link’
  • Replace line 69 with code that adds target="_blank" attribute to links

Refinement Suggested:
A follow-up comment recommends adding an IF conditional check to specifically target only social media menu items, preventing the modification from affecting all footer links. This approach uses {% if block.settings.menu == 'social' %} to isolate the social links.

The discussion provides a working code solution but remains technical, requiring manual theme file editing. No indication whether the original poster implemented or tested the suggestions.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

how to open the links of Linkedin, Twitter and Instagram in a new tab?
website: 10xfuel.com

Thx!

Hello @10xfuel

It’s GemPages support team and glad to support you today.

I would like to give you a solution to support you.

  1. Go to Online Store → Theme → Edit code.

  2. Open your Sections/footer.liquid theme file.

  3. Search with keyword: ‘list-menu__item–link’

  4. There is 1 result: line 69

  1. Replace that whole line of code (line 69) with the following code:

Hope my solution can work and support you!

Kind & Best regards!

GemPages Support Team.

1 Like

I’d take that a step further and add in a “IF” check as you might have more than one list-menu__item–link menu in the footer. For me I was just targeting the social items from a menu. Hence the {% if block.settings.menu == ‘social’ %}

{%- for link in block.settings.menu.links -%}
                          - {{ link.title }}
                            
                          

                        {%- endfor -%}
1 Like