Jump to content

znx

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by znx

  1. Site URL: https://znbh.co

    I'm trying to make my logo shrink on scroll using custom code, but nothing I am doing seems to be working. Here is what I have so far, gathered and altered based on what I've seen from other posts similar to my own:

     

    <script>
    //Shrink Your Logo
    .title-nav-wrapper .site-title img {
        transition: max-height 140ms ease-in-out
    }
    .title-nav-wrapper.shrink {
      padding-top: 20px!important;
      padding-bottom: 20px!important;
    .site-title img {
        max-height: 40px;
    }
    }
    </script>

    what's wrong with this? why won't it work on my site?

×
×
  • 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.