Logo-list: Remove target equals _blank

Logo list links will open images in a new tab. This is assuming the links are going to external sites. To make Logo-list links open in the same tab, you can modify the code in the template.

How to - Open the Code Editor:

From your list of themes, find the Actions link for the theme you'd like to edit. Then select Edit code. Example draft theme:

Example if you're working from your main live/published theme:

Quick link if the theme is live/published:
Open Code Editor

1

Open the logo list template file

In the sections folder, open index-logos.liquid:

2

Find the correct line

In the code area, use the Find feature (Command-F on Mac, Control-F in Windows) and search for (1):

_blank

Once you find the right line (2):

Change from:

target="_blank"

Change to:

target=""

Example:

Save the file.


Undo the change

Use the Older versions link to rollback to the original if you make a mistake or want to return to previous behaviour.

Still need help? Contact Us Contact Us