Jump to content

Complications Using CSS To Reduce Section Minimum Height

Recommended Posts

Site URL: https://danielesestito.com/photos

I have two pages on my site which have a "Hover: Fixed" portfolio layout. Because the height of the section is too long as is, I have a CSS which reduces its height:

[data-section-id="62ab9dffa603034ec044abbd"] {
min-height: unset !important;
height: 80vh;
}

However, whenever I apply this CSS, that whole section becomes completely invisible (though the portfolio page titles are still clickable) on the published site or in the website editor. The only way it's visible with the corrected section height is when I'm on the Custom CSS tab on the website editor, that's it. It looks like this:

1543292106_ScreenShot2022-07-06at8_50_52PM.thumb.png.702c9f03809e9f6b14f6eb808cd852ef.png

How can I get this section height adjustment to work all of the time?

If you go on those pages now (danielesestito.com/photos & danielesestito.com/more), you can see it without any height adjustments.

Edited by dsestito101
Link to comment
  • dsestito101 changed the title to Complications Using CSS To Reduce Section Minimum Height
  • Replies 1
  • Views 226
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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.