Jump to content

Mork_Walfe

Member
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Mork_Walfe

  1. Hi all,

    I am currently working on my trial site and am customizing the header. I wanted it to float off the page in a pill shape. Which I was able to achieve, but I had to use the command overflow: hidden. Which made the folder dropdowns disappear when overflowing. If I make the overflow visible the corners are no longer rounded. Does anyone know how to fix this? 

    My code:

    // Header Style
    .header{
      margin:10px;
      border-radius: 60px;
      overflow: hidden
      box-shadow: 6px 7px 15px #DCE1F4;
    }


    //header dropdown//
    /* Folder dropdown style */
    .header-nav-folder-content {

        background: #ffffff
          !important;
      
          padding: 0!important;
      .header-nav-folder-item a {
        padding: .5em 1em!important;
     
      }
      .header-nav-folder-item a:hover {
        background: #7996D1!important;
        color: #ffffff!important;
        overflow: visible;
      }
        border-radius: 3.5px;
         border: 1px solid #003366;
         box-shadow: 5px 3px 10px rgba(0,0,0,0.25);
        
    }

    .header-nav-folder-content a {
        color: #003366 !important;
          padding-bottom:.5rem!important;
      hover {
      
      }
    }

    Screenshot 2023-03-01 at 8.54.25 AM.png

  2. Hi there Logan, your site looks great and I was trying to do a similar thing with mine. The one difference is that mine had drop-downs in the folders. The "overflow: hidden;" command seems to make the round ends possible, but also hides my drop-downs. Do you or anyone know how to get around this? 

    Screenshot 2023-02-27 at 4.04.52 PM.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.