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. Hover Image on project Index

Hover Image on project Index

Scheduled Pinned Locked Moved Addons
3 Posts 2 Posters 292 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
    marc
    wrote on last edited by
    #1

    Hi,

    Another question on the project index and hover images links:
    https://marcthomas.fr/index/

    I would like to put the image on top and not fixered and centered.

    Then, to be on the same position than the first image of carousel on the project page.
    https://marcthomas.fr/versace-spring-summer-22-watches-campaign/

    Thanks a lot,
    Marc

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

      Dear Marc

      @marc

      The size of the image will need to change if you need it to fit above the text. However you can change the distance from the top by changing the top value in the images code:

      img.lay-image-responsive.lazyautosizes.h100.lazyloaded {
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
      }
      

      Within the "image hover region' are all the images waiting and invisible until the hover make's them visible ( opacity ):

      Screen Shot 2022-05-17 at 6.21.15 PM.png

      If you were to set the top to 30% then the image will rise to where it is in this image.


      Hope this helps and best wishes ✨
      Richard
      1 Reply Last reply
      0
      • M Offline
        M Offline
        marc
        wrote on last edited by
        #3

        Thanks, get it!!

        1 Reply Last reply
        1
        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
        O
        oli
        P
        piranha
        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