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. Image hover error

Image hover error

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 100 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
    cschm.tz
    wrote on last edited by
    #1

    Hi Armin,

    Hope you are having a good start to the year.

    Just reaching as I am experiencing issues with the image hover effects in this site. Ever since I installed this option, the position of the image seems to change every time I check.

    Particularly in this page (https://lasalbercas.com/ver-hacer/) — all images accordig to the CSS added should be on the left hand side of the page, however they are now positioned exactly above the titles assigned (Segovia Ciudad, Pueblos con Encanto, Restaurantes, etc). I have corrected this 3 or 4 times but wanted to know if there is a permanent way to avoid this from happening any more?

    This also happens in this page (https://lasalbercas.com/las-casas/). Images are cropped as they are exactly above the words, rather than having the custom position added in CSS to appear within the viewer.

    Do you know what this could be? Any help is very much appreciated.
    Thanks very much in advance!

    All the best,
    Christian

    Captura de pantalla 2024-01-10 a las 11.11.25.png Captura-de-pantalla-2024-01-10-a-las-11.11.17.jpg Captura de pantalla 2024-01-10 a las 11.11.39.pngCaptura-de-pantalla-2024-01-10-a-las-11.11.46.jpg

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

      hey christian, so you used custom css to position your imagehover images?

      Screenshot 2024-01-12 at 01.38.38.png

      so when you go to lay options → imagehover addon

      you'll see these two settings. an image can be shown in different positions based on if it was triggered by a hover or if it was triggered by a scroll

      also if you have used the textelement to create links with imagehover images,

      Screenshot 2024-01-12 at 01.39.52.png

      the link-modal has extra settings for imagehover called "imagehover settings"
      here i would recommend you check the settings. cause these settings give you the flexibility to show images in different positions on a per-link basis

      also
      Screenshot 2024-01-12 at 01.41.27.png

      we do have the new "custom size and position" position, which you can set in lay options → imagehover addon:

      Screenshot 2024-01-12 at 01.42.04.png

      which i would recommend you use instead of writing your own css to position images

      also your own css might not work correctly anymore, because the html structure of the images changed, they are elsewhere in the html hierarchy now

      also of course make sure you have done the steps to the right in the cyan box

      lmk if that helped

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cschm.tz
        wrote on last edited by
        #3

        Hi @arminunruh thanks so much for your comments. These last few updates for image hovers are super helpful, congrats on the great work!!

        This helped particularly for this page (https://lasalbercas.com/ver-hacer/?preview_id=627&preview_nonce=799f753557&preview=true)

        For this page, however, I think I don't quite understand how to customise the different links establishing different positions. As the custom position established is already determining the positions for the images on the other page, for this one (https://lasalbercas.com/las-casas/) I still have the issue where, depending on the size of the browser, images are cropped on the left and right and ideally I would like them to respect the site's margins as I had them originally. See attached in the following screenshots how the images exceed the sides.

        Captura-de-pantalla-2024-01-16-a-las-18.09.42.jpg

        Captura-de-pantalla-2024-01-16-a-las-18.09.34.jpg

        Any idea of how I could avoid this? Thanks as always for your help!

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

          thanks!
          oh i see
          mmh basically what you'd need is multiple custom position images

          or we'd need some boundary for the stick to link image position that you currently use

          well we do have this setting already, however it only works for images not getting cut off vertically but not horizontally:

          Screenshot 2024-01-18 at 07.06.59.png

          i will take a note, i should improve this setting to also work horizontally

          not sure when i will find the time to work on this :O

          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
          D
          dnlbrv
          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