Jump to content

tymon

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by tymon

  1. thank you. for the desperate: this codes hides 1, 2 and 3 and displays 4, 5 and 6 (i have 6 header navigation links):

    <style>
      .header-nav-item--collection {
        display: none !important; /* Hide all navigation items by default */
      }
      .header-nav-item--collection:nth-child(4),
      .header-nav-item--collection:nth-child(5),
      .header-nav-item--collection:nth-child(6) {
        display: inline-block !important; /* Display the specific items you want to show */
      }
    </style>

  2. i am using this bit of code to hide some header navigation links: 

    <style>
      .header-nav-item--collection
    a[href="/1"],
    a[href="/2"],
    a[href="/3"]{
        display: none !important;
    }
    </style>

    Two of the links behave well but for whatever reason one of them, i am not sure which, behaves as if i was using the command visibility: hidden and messes up the layout of the header navigation links. Can i do something about this? Any help would be greatly appreciated! (My site is not live yet.)

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