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. Bug Reports
  3. Overlay Menu Closing Issue

Overlay Menu Closing Issue

Scheduled Pinned Locked Moved Bug Reports
15 Posts 3 Posters 162 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.
  • F Offline
    F Offline
    felix_rabe
    wrote on last edited by felix_rabe
    #4

    the x buttons clickable area (100px padding) is overlaying the menu points.

    @janawodicka you can optimize these spaces around the x icon in the overlay options. its "Close-Icon Space-Top (Desktop)" etc.

    And then I would recommend to optimize the spaces above your menu points, right now you make the space with empty <p> tags, like blank rows. it will be easier to create this by adjusting the borders of the overlay.

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

      oh i missed your other questions:

      I understand that the menu items are formatted as hyperlinks (with the specific color and underline that i customized). Is there any way to bypass this in the overlay?

      when an overlay is open, the body tag has a class of "lay-overlay-open"
      so you could use this to write css

      body.lay-overlay-open .desktop-nav a{
      color: pink!important;
      }
      

      Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop"

      you can learn more about how to find the css selectors and use css for example here:
      https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools

      And is it possible to apply different text formats within the same text box and even within a single line? For example, if I want three words in a line to be a bit bolder, my problem is, that the entire text box switches to bold instead. Can this be adjusted?

      if you want to use multiple textformats within one line, you need text formats of type "character" Screenshot 2025-01-27 at 11.34.09.png
      other than that you can use as many textformats as you want inside a textbox. just use the "formats" dropdown in the texteditor!

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

        probably we could also change the z-index with css so your links overlap the x icon.
        the thing is, the space around setting for the x icon is space around that is still clickable to close the overlay.
        https://kunst.uni-koeln.de/carelab/ this link doesnt seem to work anymore, if you had a new link, i could write some css for you so the text would overlap the x icon, so only that text would be clickable

        1 Reply Last reply
        0
        • J Offline
          J Offline
          janawodicka
          wrote on last edited by
          #7

          Hi!
          sorry for my late answer and thanks again for your help.

          The css you suggested unfortunately seemed to have no effects on the overlay menu items.

          But the hint concerning the "Character" textformat is super helpful. thanks!!!

          By now the url https://kunst.uni-koeln.de/carelab/ should work again so if you would still be willing to write some css for the text overlapping the x icon in the overlay I would be super grateful!!

          warmly,
          jana

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

            .overlay-close{
            padding-bottom: 0!important;
            padding-left: 0!important;
            }

            can you use this css, this will make it so the clickable area for the x button is not so big downwards and to the left:

            Screenshot 2025-02-13 at 12.45.03.png

            1 Reply Last reply
            0
            • J Offline
              J Offline
              janawodicka
              wrote on last edited by
              #9

              this works perfectly!! thank you so much <3

              1 Reply Last reply
              0
              • J Offline
                J Offline
                janawodicka
                wrote on last edited by
                #10

                maybe i somehow overlooked this option, but is it possible to hide/fade out the overlay burger icon while scrolling down for desktop and mobile version?

                https://kunst.uni-koeln.de/carelab/

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

                  sure

                  
                  .overlay-burger{
                  opacity: 1;
                  transition: opacity 300ms ease;
                  }
                  
                  body.lay-scrolled-down .overlay-burger{
                  opacity: 0!important;
                  pointer-events: none!important;
                  }
                  

                  can you please also update lay theme, cause i changed something so the clickable area isnt so big!

                  1 Reply Last reply
                  0
                  • arminunruhA arminunruh

                    oh i missed your other questions:

                    I understand that the menu items are formatted as hyperlinks (with the specific color and underline that i customized). Is there any way to bypass this in the overlay?

                    when an overlay is open, the body tag has a class of "lay-overlay-open"
                    so you could use this to write css

                    body.lay-overlay-open .desktop-nav a{
                    color: pink!important;
                    }
                    

                    Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop"

                    you can learn more about how to find the css selectors and use css for example here:
                    https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools

                    And is it possible to apply different text formats within the same text box and even within a single line? For example, if I want three words in a line to be a bit bolder, my problem is, that the entire text box switches to bold instead. Can this be adjusted?

                    if you want to use multiple textformats within one line, you need text formats of type "character" Screenshot 2025-01-27 at 11.34.09.png
                    other than that you can use as many textformats as you want inside a textbox. just use the "formats" dropdown in the texteditor!

                    J Offline
                    J Offline
                    janawodicka
                    wrote on last edited by janawodicka
                    #12

                    @arminunruh said in Overlay Menu Closing Issue:

                    oh i missed your other questions:

                    I understand that the menu items are formatted as hyperlinks (with the specific color and underline that i customized). Is there any way to bypass this in the overlay?

                    when an overlay is open, the body tag has a class of "lay-overlay-open"
                    so you could use this to write css

                    body.lay-overlay-open .desktop-nav a{
                    color: pink!important;
                    }

                    Hi there!
                    I tried to write some css as you have suggested, but unfortunately the hyperlinks in the overlay do not change their appearance. I tried it with the given options in the overlay settings as well, but no changes appear:
                    Screenshot 2025-02-25 um 10.07.25.jpg

                    Do you have an idea what i might be doing wrong?
                    I would want to change the color of the text and I would want it to not be underlined.
                    Thanks for your help!!
                    Jana

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      janawodicka
                      wrote on last edited by
                      #13

                      Ah okay sorry – I figured out what the "Style Active Links in Overlay" does and it works well :)
                      But any idea what could be wrong with the css quoted above?

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

                        whats your goal, you want to have a different color for the anchors in the overlay?

                        .lay-overlay a{
                        color: red!important;
                        }

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          janawodicka
                          wrote on last edited by
                          #15

                          great – thanks!!

                          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