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. Shake/move project title on thumbnail on hover

Shake/move project title on thumbnail on hover

Scheduled Pinned Locked Moved General Discussion
hovermouseoverthumbnailproject title
5 Posts 2 Posters 1.7k 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.
  • D Offline
    D Offline
    dnz
    wrote on last edited by
    #1

    Hey Armin,

    once again I'd need a little push in the right direction.

    I would love to modify the hover effect of the project title on my project thumbnails. I would like to add a little movement to the text when you hover over the thumbnail. Pretty much like Thomas does it here: http://thomaskorf.com/

    So what would be the right class to modify the text? I tried finding out with the inspector but had no luck.

    Thanks!

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

      Screen Shot 2016-05-23 at 12.12.19.png

      Hey!
      I think you can work with .titlewrap-on-image or .title

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dnz
        wrote on last edited by
        #3

        Hey Armin,

        Thanks! Got it to work.

        That's the css I use:

        .title {
          display: inline-block;
          vertical-align: middle;
          -webkit-transform: translateZ(0);
          transform: translateZ(0);
          box-shadow: 0 0 1px rgba(0, 0, 0, 0);
          -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
          -moz-osx-font-smoothing: grayscale;
          -webkit-transition-duration: 0.1s;
          transition-duration: 0.1s;
          -webkit-transition-property: transform;
          transition-property: transform;
        }
        .title:hover, .title:focus, .title:active {
          -webkit-transform: scale(2) rotate(15deg);
          transform: scale(2) rotate(15deg);
        }
        

        I was wondering if there is a chance to make the title move when I'm hovering over the thumbnail instead of the specific title/text? What would be the right class here? I tried a few but couldn't get it to work.

        Thanks again!

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4
          .thumb:hover .title{}
          

          That should work

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dnz
            wrote on last edited by
            #5

            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