Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. Mouseover thumbnail opacity

Mouseover thumbnail opacity

Scheduled Pinned Locked Moved General Discussion
11 Posts 3 Posters 1.3k Views 2 Watching
  • 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.
  • mariusjopenM
    mariusjopenM
    mariusjopen
    Global Moderator
    wrote on last edited by
    #2

    Dear @kristyjcheng
    can you post a link to your website where you want to have the effect?

    Best!

    Marius

    www.mariusjopen.world

    K 1 Reply Last reply
    0
    • mariusjopenM mariusjopen

      Dear @kristyjcheng
      can you post a link to your website where you want to have the effect?

      Best!

      Marius

      K
      K
      kristyjcheng
      wrote on last edited by
      #3

      @mariusjopen Hi Marius, my website is kristyjcheng.com! I have the mouseover effect for the SPCA project currently.

      1 Reply Last reply
      0
      • mariusjopenM
        mariusjopenM
        mariusjopen
        Global Moderator
        wrote on last edited by
        #4

        Dear @kristyjcheng
        I need to ask Armin for that!

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply
        0
        • K
          K
          kristyjcheng
          wrote on last edited by
          #5

          Hi @mariusjopen, any updates on this? Sorry to bother!

          1 Reply Last reply
          0
          • mariusjopenM
            mariusjopenM
            mariusjopen
            Global Moderator
            wrote on last edited by
            #6

            Dear @kristyjcheng
            not yet. In a bit!

            Best!

            Marius

            www.mariusjopen.world

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

              please use this css:

              .no-touchdevice .thumb.has-mouseover-img:hover .ph{
              	img:first-child{
              		opacity: 0;
              	}
              	img.mo_thumb{
              		opacity: 1;
              	}
              }
              .touchdevice .thumb.has-mouseover-img.hover .ph{
              	img:first-child{
              		opacity: 0;
              	}
              	img.mo_thumb{
              		opacity: 1;
              	}
              }
              .thumb.has-mouseover-img img.mo_thumb{
              	opacity: 0;
              }
              .thumb.has-mouseover-img img.mo_thumb,
              .thumb.has-mouseover-img img:first-child{
              	visibility: visible;
              }
              

              the new lay theme update will include this as an option

              1 Reply Last reply
              0
              • K
                K
                kristyjcheng
                wrote on last edited by
                #8

                @arminunruh Hi Armin! I tried adding this code to my site but the css is telling me "Unknown property 'img' Expected RBRACE" on the lines with img:first-child. Any ideas on what to do?

                1 Reply Last reply
                0
                • mariusjopenM
                  mariusjopenM
                  mariusjopen
                  Global Moderator
                  wrote on last edited by
                  #9

                  Dear @kristyjcheng
                  are you still able to save it and does it work anyway?

                  Best!

                  Marius

                  www.mariusjopen.world

                  1 Reply Last reply
                  0
                  • K
                    K
                    kristyjcheng
                    wrote on last edited by kristyjcheng
                    #10

                    @mariusjopen I have it applied to my website right now, it makes the hover image not show up at all?

                    EDIT: @arminunruh just updated Laytheme, the new option works now! Thank you for the mouseover hover option!

                    1 Reply Last reply
                    0
                    • mariusjopenM
                      mariusjopenM
                      mariusjopen
                      Global Moderator
                      wrote on last edited by
                      #11

                      Great! Happy to hear!

                      www.mariusjopen.world

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Online Users
                      G
                      gd_mrsn
                      I
                      itsbadjujuju
                      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