Positioning the page bottom automatically

I love Sitely, but one of the few things about it that has consistently frustrated me is positioning the page bottom. There’s no way to tell it “put the page bottom 30 px below the last text”. In the editor you have to position the page bottom manually and judge its position by eye. Then look at it in preview. Trial and error until you get it right.

What’s worse is that it doesn’t always stay put. Sometimes I come back to a page I haven’t edited in a while only to find that the page bottom has moved down significantly and now there’s a bunch of white space between the bottom of the text and the bottom of the page.

So, I spent several days working with ChatGPT and it was able to write a script that automatically placed the footer (and thus the page bottom) a set distance below the bottom of the text. It doesn’t matter where I leave the page bottom in Sitely’s editor, the script puts it where it belongs.

I would gladly post the script, but it’s completely customized for the layout of my specific website. I don’t think it would work anywhere else. But I wanted to let you know that a solution is possible. If you use ChatGPT it can write the script for you. It will also walk you through debugging it and modifying it until it works. I don’t know the first thing about writing Java script, but I didn’t have to.

1 Like

So can I aske @Gary, have you used Sitely’s “Move With Page Bottom” on your footer? I didn’t see you mentioning it in your post.

If you’d like a specific spacing then just make sure you have a good height to your footer section which is then placed up against your last on page element…

My footer has always had “move with page bottom” checked. As far as I could tell, checking that box didn’t do anything. The footer remained wherever I put it, at least for a time. It seemed to have a mind of its own and would sometimes move itself significantly lower, creating a large blank space between the end of the document and the footer.

The Java script ChatGPT created has finally solved that problem.

Ok, seems somewhat strange. I’ve never had an issue!
Maybe you have hidden elements expanding out the page(s)?

I reckon it would be a good time to reach out to Duncan explaning the situation at feedback@sitely.app and maybe sending a copy of your file.