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. Addons
  3. image hover: closing gaps between links/block areas for automatic image positioning

image hover: closing gaps between links/block areas for automatic image positioning

Scheduled Pinned Locked Moved Addons
7 Posts 2 Posters 138 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.
  • M Offline
    M Offline
    MartinRL
    wrote on last edited by MartinRL
    #1

    Hi!

    https://martinrobertlutz.de/index-test/
    (password: xyz)

    So the links in the index have a hovering image thanks to your addon. I have activated the option "don’t hide images when mouse leaves link", only because otherwise, when moving the cursor up and down though the list, it flickers like a stroboscope due to the small gaps (around 12px) between the links. That’s just very unpleasant to look at. Is there a way of somehow closing those gaps? A delayed disappearing or a very slow fade-in and fade-out would also help get rid of the stroboscope, but I have no clue how to change those factors. The default fading time is way too short. Maybe a built-in option in the addon settings would be nice not just for me :-)

    If that is not possible, I can deal with the images staying, but then there’s still the issue that when scrolling up the page, the hovering image slides underneath the "mosaic" of images on the top. That’s a cool effect but definitely looks unintentional with this page’s design ;-) So is there a way to block that upper area for the hovering image, maybe tell the addon that it’s not part of the viewport anymore? (I need to keep the option "adjust image position so it is always in viewport" activated because of the links on the bottom of the page.)

    Appreciate any help – thanks!

    Martin

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2
      .mytext{
      font-size: 0!important;
      }
      
      .mytext a{
      font-size: 20px!important;
      line-height: 1.2!important;
      }
      

      create a textbox that only includes your text with imagehovers. right click the textbox in the gridder and give it the class: mytext

      then use the css above, does that work?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MartinRL
        wrote on last edited by
        #3

        Thanks Armin.

        I did this, but the gaps persist. Both with 20px/1.2 as you wrote, and 24px/1.36 which is the actual text format I use. I tried deleting all formatting (see screenshot, left row) as well as keeping the formats set (right row), makes no difference...

        Btw, using 20px/1.2 in the css did change the text size, so wrong assignment doesn’t seem to be the issue.

        Frankly, a slower fade-in and fade-out of the hover images would help me as much, maybe that’s easier? :-)

        Bildschirmfoto 2024-06-14 um 14.32.41.png

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

          i see!

          can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            MartinRL
            wrote on last edited by
            #5

            Did so. Thx!

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

              hey so instead of the css i showed you, this one worked:

              .mytext *{
              font-size: 0!important;
              }
              .mytext a>span{
              font-size: 20px!important;
              line-height: 1.2!important;
              display: inline-block;
              }
              
              1 Reply Last reply
              0
              • M Offline
                M Offline
                MartinRL
                wrote on last edited by
                #7

                Thanks a lot Armin, it works!

                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