Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Need Custom Coding for Lay Theme? Find 3rd Party Developers here.
  3. help with mobile menu styling needed

help with mobile menu styling needed

Scheduled Pinned Locked Moved Need Custom Coding for Lay Theme? Find 3rd Party Developers here.
4 Posts 2 Posters 122 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alexandre
    wrote on last edited by alexandre
    #1

    How can I fill the space between the open mobile menu and where the menu bar is with black? I‘m using a transparent menu bar with mobile menu style 1 and lowered the position of the open menu using this code (which doesn’t work properly):

    @media (max-width: 768px) {
    .mobile-nav-wrap {
    background-color: black !important;
    }
    .laynav.mobile-nav.mobile-menu-style-style_1.active {
    top: 36px !important;
    background-color: black !important;
    }
    }

    Essentially what I want is the black space to reach up and fill the site title and menu button space only when the mobile menu is open. Any ideas really appreciated!

    alexandrekurek.com.jpeg

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by arminunruh
      #2

      instead of top: 36px, do padding-top: 36px;

      .laynav.mobile-nav.mobile-menu-style-style_1.active {
                  padding-top: 36px !important;
                  background-color: #000 !important;
      }
      
      1 Reply Last reply
      0
      • A Offline
        A Offline
        alexandre
        wrote on last edited by
        #3

        Thanks a lot, Amin. It works flawlessly. I understand that you have a lot going on, so I really appreciate your help!

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          im happy it works for you! no problem! sorry for the wait

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          💿 Email me here: 💿
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search