Jump to content

Do not have header appear on scroll for desktop view only 7.1

Recommended Posts

Site URL: https://madhattersnyc.com/

Hi,

My header reappears when scrolling up on a page, which is not a problem on mobile because the header is an appropriate size. But on desktop, the header takes up almost the entire page and only leaves a few rows of text or part of an image visible. I know it's supposed to disappear when you stop, but it sometimes sticks. I'm wondering if it might be a better user experience to make the header NOT appear when scrolling? Is this possible on just the desktop view? Attaching images for reference.

TIA!

Mobile View.png

Desktop View.jpg

Link to comment
  • Replies 7
  • Views 995
  • Created
  • Last Reply

Try this in custom css pls

@media only screen and (max-width: 768px) {
        header.shrink {
          transform: translateY(-100%) !important;
        }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
4 minutes ago, mhnyc said:

Hi @bangank36

That didn't appear to work. Screenshot attached -

Desktop View 2.jpg

My bad, it should be min-width instead of max-width, could you make the chabge yourself?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
28 minutes ago, mhnyc said:

That worked! TYSM @bangank36!

you rock!

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

@mhnyc I see the footer on tablet doesn't look good (email break)

You can add this to Design > Custom CSS to increase contact us column width
 

/* Footer tablet */
@media screen and (max-width:991px) and (min-width:768px) {
div#page-section-5f2f45a13102f37ed8d4cd34 .span-12 .span-7 .span-5 {
    width: 80%;
}
div#page-section-5f2f45a13102f37ed8d4cd34 .span-12 .span-7 .span-2 {
    width: 20%;
}
footer.sections .content {
    width: 95% !Important;
}
}

image.thumb.png.8e29552d26732c39faa5318d65983404.png

2. Mobile blog has very long content. You should consider adding a back to top button.

3. Post pagination title on mobile looks huge, overlap.

You can remove them, add Prev/Next by this CSS

/* Pagination title */
@media screen and (max-width:767px) {
h2.item-pagination-title {
    display: none;
}
.item-pagination-prev-next {
    display: block !important;
}
}

image.thumb.png.7e291364fc9283688f55ed6ea84fe07d.png

 

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.