Jump to content

Is there a way to fix an element to the bottom of an index page rather than the whole website?

Recommended Posts

Posted (edited)

Site URL: https://raccoon-heron-nyzc.squarespace.com/

I'm trying to fix a photo credit for a banner image... I just want it to be visible at all times in the corner. The best I've come up with is the fixed position element but it only "fixes" it to the bottom or top of the entire page. Is there a way to just have it fix to the bottom or top of one page?  (password roland)

Here's my code which I am disappointed didn't work as I've been monkeying with this for a while. Any suggestions would be greatly appreciated. I put the text in a code block. I thought by targeting just the index page it might work! 

#main
.photo
{ font-size: 12px;
  position: fixed;
 top: bottom;
left: 0;
  width: 10em;
  padding: 10px

}

https://raccoon-heron-nyzc.squarespace.com/

Screen Shot 2022-01-31 at 8.44.41 AM.png

Edited by andreallevin
  • Replies 1
  • Views 229
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.