fixed header?

  • Author
    Posts
  • #145798

    sorry to double post. is there a way to make the header fixed so that if you’re reading a post and scrolling down, the header along with the pages stays fixed at the top of the screen rather than scrolling offscreen? thanks

    The blog I need help with is: (visible only to logged in users)

    #145812
    ricardpriet
    Theme Author

    Hello again!

    Yes, try adding this CSS:

    @media (min-width: 768px) {
    	.site {
    		padding-top: 80px;
    	}
    	.site-header {
    		position: fixed;
    		background-color: #fff;
    	}
    	.admin-bar .site-header {
    		top: 32px;
    	}
    }

    Please, let us know.
    Thank you,
    Ricardo P. from SiloCreativo

    #145815
    setthestoryfree
    Member
    Original poster

    That worked! Both did, thanks so much!

    #145822
    ricardpriet
    Theme Author

    Fantastic, thank you for keeping us posted :)

  • The topic ‘fixed header?’ is closed to new replies.