Minimal theme footer: how to add a text line above the copyright?

Solved
New Member
4 0 0

Hi, I need to add the physical address where my store is registered. I want to put it above the copyright note (in the minimal theme footer), and it should be formatted exactly as the copyright note. I copyright code in found footer.liquid:

<div class="grid">
<div class="grid__item text-center">
<p class="site-footer__links">{{ 'layout.footer.copyright' | t }} &copy; {{ 'now' | date: '%Y' }}, {{ shop.name | link_to: '/' }}. {{ powered_by_link }}</p>
</div>
</div>

But I am not sure what to do next. Somebody help please?

0 Likes

Success.

Excursionist
47 5 6

You can simply copy the copyright section and add it past it above the existing one and then change the paragraph to print your address like so

 

<div class="grid">
<div class="grid__item text-center">
<p class="site-footer__links">YOUR ADDRESS GOES HERE</p>
</div>
</div>

 

<div class="grid">
<div class="grid__item text-center">
<p class="site-footer__links">{{ 'layout.footer.copyright' | t }} &copy; {{ 'now' | date: '%Y' }}, {{ shop.name | link_to: '/' }}. {{ powered_by_link }}</p>
</div>
</div>

H. Azzam
1 Like
New Member
4 0 0

Thanks a lot, worked like a charm.

0 Likes
Highlighted
Excursionist
47 5 6

You're welcome!

H. Azzam
0 Likes