Jump to content

Adding footer to Tremont index page 7.0

Recommended Posts

  • 3 months later...
  • Replies 5
  • Views 470
  • Created
  • Last Reply
Posted

Hello,

I see you go the footer on the index page.  May I ask how you did it?

 

Thanks,

Marissa

Posted

Hello @MJakaJaX

You can solve this problem by enabling developer mode in Tremont and making the changes through git. ( I won't cover this here but just tell you the changes I made.)

In site.region remove the conditionals around the footer block:

{.equal? collection.typeName "index"}{.or}
<footer class="site-footer">
    <squarespace:block-field id="footer-blocks" columns="12" label="Footer Content" />
</footer>
{.end}

so that it looks like:

<footer class="site-footer">
    <squarespace:block-field id="footer-blocks" columns="12" label="Footer Content" />
</footer>

Then in styles/index.less remove or comment out the following:

.site-footer {
		display: none;
	}

You can then use some css to add a solid background to the footer if you would like.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.