Jump to content

yudobz0114

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by yudobz0114

  1. Site URL: https://lychee-fish-d69t.squarespace.com/

    Hi,

    I am trying to make my desktop site menu the same as mobile menu without affecting mobile menu. I got a code from other questions in forum but it seems that the line height is much bigger. Anyone can help me to make it more smaller without affecting the mobile design? I also want to make the box smaller and lower the opacity of the background. THanks

    Here's the code that I am using :

    .header .header-burger{display:flex} .header-nav, .header-actions {display:none}
    .header--menu-open .header-menu {
    opacity: 1;
    visibility: visible;
    width: 30%;
    margin-left: 70%;
    box-shadow: -5px 5px 15px #000}
    div.header-menu-nav-item a {
        font-size: 20px !important;
        padding: 10px;
    }
    .header-menu-nav-item {line-height: 10px!important;}

    @media screen and (min-width:992px) {
    .header-menu-actions {
        justify-content: center !important;
    }
    .header-menu-cta {
        position: relative;
        top: -100px;
    }
    }
    @media screen and (max-width:991px) {
    .header--menu-open .header-menu {
        width: 100% !important;
        margin-left: 0 !important;
    }
    }

     

    hamburger.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.