Jump to content

blindtacos

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by blindtacos

  1. Hi tuanphan, I've got the border working, but the issue is that the page always loads 14px too long, so the bottom border is only visible after scrolling down. I'd love for the height to actually be the size of the window, but it seems that having a border there is throwing off things a bit, and the calculation in my css code does nothing at the moment.
  2. Hi there, Having a bit of trouble getting my CSS to work.. I have a 7px border around my site, but to make it work, I've had to force the site to be, at minimum, the full browser height with code as well. Unfortunately, the code for that doesn't take into account the border, and so the page ends up being 14px too long. I've tried changing my code to help (see below), but it does not change the height. body { border:7px solid #e91c1c; } site {height: calc(100vh-14px)} Any suggestions? Site: Website
  3. Hi there, Wondering if there's a way to target the entire site when adjusting minimum height. I'm currently using code to target specific pages using page IDs, but I really need it to apply to the whole site, so that it will affect new pages added as well. My issue is, when replacing the page ID with '#site' or '#content' the code does not work. Here's the code I'm currently using. Any advice for making it site-wide would be much appreciated. #page-6421dcbaf4993d173fe80734 { min-height: calc(~"100vh - 230px") !important; } Thanks!
×
×
  • 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.