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

Solved
LitaC
Tourist
6 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
H-Azzam
Explorer
50 5 10

This is an accepted solution.

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>

Hassan Azzam

— Full Stack Developer

Azzam9396@gmail.com

LitaC
Tourist
6 0 0

Thanks a lot, worked like a charm.

0 Likes
H-Azzam
Explorer
50 5 10

You're welcome!

Hassan Azzam

— Full Stack Developer

Azzam9396@gmail.com

0 Likes
royshops
New Member
5 0 0

It also works for me. I was not able to add my address but after seeing your code I was able and add it to my footer Centre. Thanks 

0 Likes