Jump to content

How to make scrolling images go UNDER header navigation

Recommended Posts

Site URL: https://www.zeiafoods.com/about-us

I have used some custom CSS to make a fixed header.  On the About Us page, however, the photos of Our Founders scroll over the header.  How can I change the code so that the photos will be under the header when scrolling?

Here is CSS I'm using that might need adjusting.  Thanks.

.Header.Header--top {
  position: fixed;
  top: 0px;
  z-index:1000;
  width:100%;
  transition: all .9s ease;
  box-shadow: 0px 2px 3px rgba(0,0,0,0.1)
}
.Header-inner {
    padding-top: 10px;
    transition: all .7s ease;
  }

//ScrollNav Details//
.Header.scrollNav {
  padding-bottom: 15px;

  &:Hover {
     color: rgba(0,0,0,.6)!important;
  }}

Link to comment
  • Replies 6
  • Views 1.5k
  • Created
  • Last Reply
On 10/23/2020 at 10:04 PM, SBSB said:

I was asking about QAAM's site since I don't see the problem existing there.

I still have no answer/solution about my initial post.  Those details are the same.

Add to Home > Design > Custom CSS

header.Header.Header--bottom.scrollNav {
    z-index: 10000 !important;
}

 

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

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.