Adding links to header titles

Solved
morninmug
New Member
2 1 0

Hey guys, I'm using minimal theme and I was wondering if there was a way to add links to the block/section titles on the footer, such as "Follow Us" and "Newsletter".

"Latest News" already automatically links to the blog page, but I wanted to have others link to pages as well. Thanks for the help!

morninmug.com

password: zaldad

Capture.PNG

0 Likes
morninmug
New Member
2 1 0

This is an accepted solution.

With enough digging, I found the solution. Under footer.liquid, find the block/section you want.

I was looking for newsletter, so I found "{% when 'newsletter' %}"

Replace this line under your section (still newsletter in my case):

<h3 class="h4">{{ 'layout.footer.newsletter_title' | t }}</h3>

 

With this:

<h3 class="h4"><a href="https://your_link_here">{{ 'layout.footer.newsletter_title' | t }}</a></h3>

 

But that's not all. Now the link will always be "active" because some sort of hovering thing is broken. To fix that, You have to replace this line under your section:

<div class="grid__item {{ column_width }} ">

 

With this:

<div class="grid__item {{ column_width }} site-footer__links">

 

Hope this helps someone, cheers!

0 Likes