Jump to content

Header encroaching on page title in mobile view

Recommended Posts

Site URL: https://www.cathuddhistbuddhatholic.com/

This code is working fine on the desktop to move my page titles down so the navigation bar won't encroach on them, but it is not working in mobile view.  

.view-list .banner-thumbnail-wrapper,
.collection-type-page .banner-thumbnail-wrapper,
.collection-type-index .banner-thumbnail-wrapper {
 margin-top: 100px !important; /* nav bar height */

Please advise.  Thanks!


Link to comment

Remove above code & this code

header#header {
    position: fixed !important;

Add this code

/* fixed header */
header#header {
    position: sticky;
    position: -webkit-sticky;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.