Jump to content

Nshephard

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Nshephard

  1. Site URL: https://onh.community

    Hello! I'm using this custom CSS to create a hover state for the links in my header and mobile menu, but the hover state is now also showing up for the social links in my footer which I'd like to remove.

    Any suggestions for how to do so? Thanks!

     

    //LINK HOVER STATE
    nav a:hover {
        background-size: 100% 1.5px !important;
    }

    nav a {
      padding-bottom: 6px;
      overflow: visible !important;
    background-repeat: no-repeat !important;
        background-image: linear-gradient(to right,currentColor 100%,currentColor 0) !important;
        background-size: 0% 0.5px !important;
        background-position: 0% 100% !important;
        white-space: initial;
    transition: all ease-in-out 500ms !important;
    -ms-transition: all ease-in-out 500ms !important;
    -moz-transition: all ease-in-out 500ms !important;
    -webkit-transition: all ease-in-out 500ms !important;
    }

    .header-menu-nav-item a {
        display: inline-block;
    }

    //End navigation underscore//

    Screenshot 2022-02-05 at 22.58.34.png

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