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. General Discussion
  3. sub-menus on top of menu, problem with hover

sub-menus on top of menu, problem with hover

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 124 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.
  • C Offline
    C Offline
    CristinaLavosi
    wrote on last edited by
    #1

    Hi there!
    I am working on my website: cristinalavosi.com (still work in progress).
    I made a sub menu of the menu item "index" (which is placed on the bottom left of my page). Being "index" at the bottom of the page, I managed to make the sub menu open on top of it and I did it by adding a padding-bottom to the (so it doesn't work as a normal dropdown menu where the sub menu opens under the main menu).
    Screenshot 2020-12-31 at 14.08.19.png

    Then in the Menu Style of LayTheme (in Customize) I added a Menu Point Mouseover to make the menus gray when hovering over them.
    My problem is that when I hover over "index" (and the mouse remains over it) it doesn't stay grey. I need it to stay grey cause I often have dark backgrounds in the website and I want to facilitate the visibility of the menu.

    I hope you can help me somehow, I really tried everything!

    Best,
    Cristina

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

      Dear @CristinaLavosi

      Is it possible to link to the website with example Sub-menu then i can get a better idea :)

      Best wishes and happy 2021

      Richard

      1 Reply Last reply
      0
      • C Offline
        C Offline
        CristinaLavosi
        wrote on last edited by
        #3

        Hi @Richard-K !! Thank you so much for your fast reply and happy new year!!
        The website with the submenu I am working at is this one: cristinalavosi.com

        The sub menu is the one that is linked to the primary menu "index".

        Thanks again!
        All the best,
        Cristina

        1 Reply Last reply
        0
        • C Offline
          C Offline
          CristinaLavosi
          wrote on last edited by
          #4

          Hi, I actually solved it somehow. Now the menu "index" stays lightgrey when the menu is active. I did it with this code:

          nav.primary:hover ul li a:first-child:nth-last-child(2) {
          color:#ededed;
          }

          But thanks anyway for the reply!
          Best,
          Cristina

          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