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. Project Thumbnail Mouseover

Project Thumbnail Mouseover

Scheduled Pinned Locked Moved General Discussion
mouseoverthumbnail
3 Posts 2 Posters 1.1k 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.
  • A Offline
    A Offline
    ana
    wrote on Mar 14, 2016, 7:20 PM last edited by
    #1

    Hi Arwin!
    Fisrt congrats for your amazing theme.. I am so in love whit it!

    I am quiet new and I´ve been a few hour trying to get a mouseover transparent background on projects thumbnails!!. I will need some like this example http://www.photosalonhelga.com/

    Any idea to get it? I have been trying with the code you suggeted a few weeks ago

    .col[data-type="project"]:hover .ph{
    border: 10px solid #00f;
    }
    .col[data-type="project"] .ph{
    border: 10px solid transparent;
    }

    But this is to add a border to thumbnails and what I basicly need is to keep the project image around as a border.
    THANK YOU SO MUCH!!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Mar 15, 2016, 8:29 AM last edited by
      #2

      Hey ana!

      That's their CSS, hope that helps!

      .col[data-type="project"] .ph span {
          background-color: white;
          top: 5%;
          left: 5%;
          right: 5%;
          bottom: 5%;
          width: 90%;
          height: 90%;
          -webkit-opacity: 0;
          -moz-opacity: 0;
          opacity: 0;
          -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
          filter: alpha(opacity=0);
          -webkit-transition: all 400ms ease-out;
          -moz-transition: all 400ms ease-out;
          -ms-transition: all 400ms ease-out;
          -o-transition: all 400ms ease-out;
          transition: all 400ms ease-out;
      }
        .col[data-type="project"] .ph span:hover {
          -webkit-opacity: 1;
          -moz-opacity: 1;
          opacity: 1;
          -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
          filter: alpha(opacity=100);
        }
      
      A 1 Reply Last reply Mar 15, 2016, 9:35 AM
      0
      • A arminunruh
        Mar 15, 2016, 8:29 AM

        Hey ana!

        That's their CSS, hope that helps!

        .col[data-type="project"] .ph span {
            background-color: white;
            top: 5%;
            left: 5%;
            right: 5%;
            bottom: 5%;
            width: 90%;
            height: 90%;
            -webkit-opacity: 0;
            -moz-opacity: 0;
            opacity: 0;
            -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
            filter: alpha(opacity=0);
            -webkit-transition: all 400ms ease-out;
            -moz-transition: all 400ms ease-out;
            -ms-transition: all 400ms ease-out;
            -o-transition: all 400ms ease-out;
            transition: all 400ms ease-out;
        }
          .col[data-type="project"] .ph span:hover {
            -webkit-opacity: 1;
            -moz-opacity: 1;
            opacity: 1;
            -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
            filter: alpha(opacity=100);
          }
        
        A Offline
        A Offline
        ana
        wrote on Mar 15, 2016, 9:35 AM last edited by
        #3

        @arminunruh Helps A LOT! This is working perfectly now!
        Thank you so much! Great work!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes

        2/3

        Mar 15, 2016, 8:29 AM


        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.
        2 out of 3
        • First post
          2/3
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search