Jump to content

Adding footer to Tremont index page 7.0

Recommended Posts

  • 3 months later...
  • Replies 5
  • Views 419
  • Created
  • Last Reply

Just solved problems for 2 members. You can use custom jQuery (you can share link, we can check easier), or use Sidebar Plugin (you need to contact plugin author to tweak the plugin code to make sidebar as footer)

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

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.

Link to comment

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.