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. Bug Reports
  3. Some images w/ y-offset have a strange overlap/cutoff

Some images w/ y-offset have a strange overlap/cutoff

Scheduled Pinned Locked Moved Bug Reports
17 Posts 4 Posters 2.6k 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.
  • edgrbnzE
    edgrbnzE
    edgrbnz
    wrote on last edited by edgrbnz
    #1

    Hi there @richard & @arminunruh,

    I somehow ran into a weird problem which must have been caused by an update. I updated this site to 4.1.5 a few minutes ago. It seems that images with a negative y-offset that push into the previous row get overlapped by the background for some reason.

    It looks alright in the gridder:

    CleanShot 2022-02-02 at 18.50.11-s.jpg
    CleanShot 2022-02-02 at 18.49.28-s.jpg

    …but has a strange / wrong / cut off appearance in the actual front end:

    CleanShot 2022-02-02 at 18.51.00-s.jpg
    CleanShot 2022-02-02 at 18.48.32-s.jpg

    I was able to reproduce/see the issue in safari as well as chrome. It seems to only be happening to the last image in a project. And only if that image has a negative y-offset applied.

    Any help would be very much appreciated!

    ✦ ✦ ✦

    1 Reply Last reply
    0
    • edgrbnzE
      edgrbnzE
      edgrbnz
      wrote on last edited by edgrbnz
      #2

      Sorry, I forgot to link the site in my initial post. It’s happening on this site and the projects are the latest two (tape and hoodie) on the front page.

      ✦ ✦ ✦

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

        Dear @edgrbnz

        Thank you so much for such a good Bug Report! 🐛

        • Bug Present in Chrome & Safari (Lay Theme version 4.1.5, 4.1.6)
        • Last element with negative Y-Offset applied
        • Element is cut off (confirmed when removing Offset):

        Screen Shot 2022-02-08 at 11.04.24 AM.png

        Relates to Code:

        body.lay-transition-elements-on-scroll .row:last-child {
            overflow: hidden;
        }
        
        • Bug Present EXAMPLE-1 , EXAMPLE-2
        • Also recreated on Test Site

        Have forwarded to Armin ✅


        Thanks @edgrbnz & have a wonderful day 🏖
        Richard
        1 Reply Last reply
        1
        • edgrbnzE
          edgrbnzE
          edgrbnz
          wrote on last edited by
          #4

          Hey @Richard,

          any news on this?

          ✦ ✦ ✦

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

            Have re-forwarded it @edgrbnz 👍

            1 Reply Last reply
            1
            • edgrbnzE
              edgrbnzE
              edgrbnz
              wrote on last edited by
              #6

              Thank you @Richard, hope there’ll be a fix soon 🎉

              ✦ ✦ ✦

              1 Reply Last reply
              1
              • edgrbnzE
                edgrbnzE
                edgrbnz
                wrote on last edited by
                #7

                Hey @Richard & @arminunruh any news?

                ✦ ✦ ✦

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

                  Dear @edgrbnz

                  Still no news sorry, lets come to a solution in the meantime then 👍

                  This is affecting the last child in the Gridder. This custom CSS with change the overflow:hidden. I have added translateY to move it down a bit if needed for your design.

                  Here on the "friends-act-like-this-over-here" work page:
                  Screen Shot 2022-03-20 at 12.06.06 PM.png

                  I didnt need to move the element down because you had room above within the design:

                  body.lay-transition-elements-on-scroll .row:last-child {
                      overflow: initial !important;
                  }
                  

                  If you do need to push an element you can use the code below to push it down (for example 70px):

                  body.lay-transition-elements-on-scroll .row:last-child {
                      overflow: initial !important;
                      transform: translateY(70px);
                  }
                  

                  Im sure there are different setups for different pages so let me know how i can help if you find the above code not working as per design. Once again sorry for no reply, i will re-forward. ✅

                  Talk soon & let me know if i can help further 🌝

                  Sincerely
                  Richard

                  1 Reply Last reply
                  1
                  • edgrbnzE
                    edgrbnzE
                    edgrbnz
                    wrote on last edited by edgrbnz
                    #9

                    Dear @Richard,
                    thanks a lot!!

                    body.lay-transition-elements-on-scroll .row:last-child {
                        overflow: initial !important;
                    }
                    

                    👆 Did the trick for now.
                    Please let me know as soon as there is an official fix / update for that.

                    Cheers! 💐

                    ✦ ✦ ✦

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

                      Thanks @edgrbnz will do! 👍

                      1 Reply Last reply
                      0
                      • Q
                        Q
                        qua7
                        wrote on last edited by
                        #11

                        Hi @richard & @arminunruh,

                        just discovered that the two last images in one project were cut off at the top as well. The strange thing is that this only happened in one project.

                        body.lay-transition-elements-on-scroll .row:last-child {
                        overflow: initial !important;}

                        did the trick for me, too.

                        Once there is a fix for this: do I then have to remove that custom CSS?

                        Thanks!

                        1 Reply Last reply
                        1
                        • RichardR
                          RichardR
                          Richard
                          Global Moderator
                          wrote on last edited by
                          #12

                          Dear @qua7

                          Thanks for your update and adding to the thread 👍
                          Yes, once the Bug is fixed properly the Custom CSS can be removed.


                          Have a wonderful weekend @qua7
                          Richard
                          1 Reply Last reply
                          0
                          • arminunruhA
                            arminunruhA
                            arminunruh
                            Global Moderator
                            wrote on last edited by
                            #13

                            hey!

                            i had to do overflow hidden on the last row because otherwise this bug happened:
                            http://laythemeforum.com/topic/6980/full-screen-row-getting-smaller-on-scroll

                            the overflow is only hidden when you use "animate elements on scroll" and you use a y-offset in the last row.

                            since this is kind of a rare case and im not sure how else to fix the bug that i mentioned in the first sentence, i will leave it as it is.

                            1 Reply Last reply
                            1
                            • edgrbnzE
                              edgrbnzE
                              edgrbnz
                              wrote on last edited by edgrbnz
                              #14

                              Alright thanks @arminunruh I had this issue on another site I’m currently working on. Will there be a fix somewhen in the forseeable future?

                              ✦ ✦ ✦

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

                                hey man,

                                im gonna code the fix now :O
                                will be included with the next update

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

                                  should be fixed if you update now

                                  1 Reply Last reply
                                  0
                                  • edgrbnzE
                                    edgrbnzE
                                    edgrbnz
                                    wrote on last edited by
                                    #17

                                    Thank you @arminunruh 🙏

                                    ✦ ✦ ✦

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