How can I locate and edit the footer section code?

Hi,

I can’t seem to find the section in ‘edit code’ to rename my footer. I’d appreciate some help!

Here is my store,

https://5f38b6.myshopify.com/

Password - 57ARABIC

“© 2023, 57twenty.” I need the text to be renamed.

Hi,

“© 2023, 57twenty.”

These text are copyright and shop name. If you want change the text you go to Admin > Online Store > Your Theme > Sections and find to footer.liquid file then finding here.

Hi @57twenty

Thank you for the screenshot and the link to your store. I can see what you are trying to change and I have a couple options you can use.

The first - If you are looking to change the business name “57twenty” specifically, this name is pulled from the store details section in your admin. If you wish to change the business name in general, you can update that in Settings > Details > Store Name.

If you wish to change this only in this section of the footer and nowhere else, you can try editing this in your theme code file. I am not a trained developer, so I can’t give you step by steps on how to do this. I can point you in the right direction though. Before making any theme code changes, please make sure you have created a backup of your theme file for save recovery.

Please note:: This coding change is a suggestion only and I cannot confirm what effects this change might have across other areas of your theme or online store experience. If you are not comfortable making this theme code change yourself please hire a developer to assist you.

I am not sure what theme file you are using for your store, but in the Dawn theme I found this section of code in “footer.liquid” line 337/338/339. You should be able to find this in your theme code by searching for “copyright__content” in the footer.liquid theme section.

<small>© {{ 'now' | date: '%Y' }}, {{ shop.name | link_to: routes.root_url -}}
        </small>

The “shop.name” pulls the shop name from Settings > Details, if you replace this with static text then it should update across the footer on your store and won’t be altered by changing the store name at a later date.

Can’t seem to find it in that file, I’ve tried doing Ctrl + F and typed in 2023, but nothing popped up.

Hey there! So the “2023” is not part of the code used to generate that section of the footer. It actually is setup to automatically generate a date based off of your system date. If you take a look at the code snippet I shared below you can see that:

{{ 'now' | date: '%Y' }}

date: ‘%Y’ is where the year 2023 is generated.

1 Like