Elementor - Kens Burns Effect on the Background but not using Slides

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 71

  • @jamieoxbridge4588
    @jamieoxbridge4588 Рік тому +2

    Not only you are thorough, witty, and intelligent, you are wonderfully informative. Thank you, Imran.

  • @mfrapp20
    @mfrapp20 2 роки тому +1

    Big thanks for making this video request Imran! You’re the man!

  • @guttmanshapiro
    @guttmanshapiro 2 роки тому +1

    Brilliant solution and presentation.

  • @ScadooshGoat
    @ScadooshGoat 5 місяців тому +3

    Update for flex containers use - .kenimage::before { rest of the css }

  • @zeldawilson5370
    @zeldawilson5370 Рік тому

    Thanks so much Imran, my image or text was jumping, and used your code and it works now.

  • @abzz1290
    @abzz1290 3 місяці тому

    I have added to slider images it works perfectly thank you.

  • @user-el7di7ej6g
    @user-el7di7ej6g 8 місяців тому +1

    Thank you!

  • @murielguillou1711
    @murielguillou1711 8 місяців тому

    Thank you very much for your great and clear presentation. Unfortunately, it doesn't work for me. Is it related to the change from section to container ? What is my CSS target then ? Thanks in advance fro your help.

    • @websquadron
      @websquadron  8 місяців тому +1

      Right click and inspect - that will show you the Class Name. Or use SiteOrigins CSS to help identify it.

  • @RudiLouw
    @RudiLouw 6 місяців тому

    Thank you. I would prefer this effect only on mouse over image. How could we achieve this?

  • @gotohealthmedia411
    @gotohealthmedia411 2 роки тому +1

    So clear and helpful. Thanks so much.

  • @Pizanlof
    @Pizanlof 10 місяців тому

    Hello! Very good video. Is it possible to do this but add a horizontal movement effect to the image? As if it were a "video lateral movement" but with an image. I can't find this anywhere and it seems pretty simple. Thank you!!

    • @websquadron
      @websquadron  10 місяців тому

      I would use the CTA widget maybe?

    • @Pizanlof
      @Pizanlof 10 місяців тому

      @@websquadron Do you mean a call to action widget?

    • @websquadron
      @websquadron  10 місяців тому

      @@Pizanlof yup
      You could make it be a Cover so the text is over the image

    • @Pizanlof
      @Pizanlof 9 місяців тому

      @@websquadron Do you think this has options to give movement to the image? Thank you very much for taking the time to respond! I'll try :)

  • @Webdevhamzabinzia
    @Webdevhamzabinzia 6 місяців тому

    Amazing. How can I use it with the container? I am facing an issue in finding the right class for it. Can you please guide?

    • @Webdevhamzabinzia
      @Webdevhamzabinzia 6 місяців тому +1

      Update: If someone is going to use this with the containers. Here is the CSS
      .kenimage {
      position: relative;
      overflow: hidden;
      }
      .kenimage::before {
      animation: kenburns 15s infinite linear;
      }
      @keyframes kenburns {
      0% {
      transform: scale(1) translate(0, 0);
      transform-origin: center center;
      }
      50% {
      transform: scale(1.1) translate(0, 0);
      transform-origin: center center;
      }
      100% {
      transform: scale(1) translate(0, 0);
      transform-origin: center center;
      }
      }

    • @hadi5280
      @hadi5280 5 місяців тому

      I just try it out. It's working on containers. 😊

    • @quinovp2591
      @quinovp2591 4 місяці тому

      @@Webdevhamzabinzia Ur awesome man, saved me.

  • @joeadona9054
    @joeadona9054 2 роки тому +2

    This works wonderfully! Thanks! Just one question - When the transition is finished (the image is finished fully zooming in), it reverts back to it's starting position. Is there any way the CSS can be altered to prevent this and leave the image fully zoomed?

    • @websquadron
      @websquadron  2 роки тому +2

      I'm still trying to work that one out too. This is where the timing may need to be increased from 20s to 40s, so by that time hopefully the user has moved on...

    • @joeadona9054
      @joeadona9054 2 роки тому +3

      @@websquadron Yes, I think that would work fine. One thing that I added was a media query around your CSS which will suppress this effect on mobile (it didn't look so great on mobile). I just added - @media (min-width:768px){ ..... all your CSS ... } - Thanks again for this!

    • @piniondesigns
      @piniondesigns 2 роки тому +1

      Try "animation-fill-mode: forwards;" that should apply the last state of the animation to the element after the animation ran.

  • @Frtgpo
    @Frtgpo Рік тому +4

    If the code is not working as in the video, I think it's because Elementor changed the way how overlays get displayed.
    For me it works when I change the ".kenimage .elementor-background-overlay {" to ".kenimage::before {" 👋

    • @devJ
      @devJ Рік тому

      Excellent! Thanks

    • @fmdesigns1542
      @fmdesigns1542 10 місяців тому

      Thank you! ( mine also isn't looping.. any tweak for that? ) =D

  • @DKingFisher
    @DKingFisher 5 місяців тому

    THANK YOU SO MUCH!

  • @VisualBeatLab
    @VisualBeatLab 7 місяців тому +1

    thanks

  • @peacetoall1858
    @peacetoall1858 2 роки тому +1

    Awesome! Thanks

  • @elementorhero1666
    @elementorhero1666 2 роки тому

    Hey Web Squadron, very good effect. The code does not work with the conateiners. Can you show how to get the effect when working with containers and not with sections. Thanks you

    • @websquadron
      @websquadron  2 роки тому +1

      I'll need to have a play with an alternate code.
      Or how about using the CTA Widget?

  • @GetTennisBar
    @GetTennisBar 2 роки тому +1

    Amazing

  • @antenataltraininguk9740
    @antenataltraininguk9740 Рік тому

    From a site speed perspective is a slide show or overlay lighter in code?

    • @websquadron
      @websquadron  Рік тому +1

      Slides always adds further JS and slowness.

  • @csmacnee
    @csmacnee 7 місяців тому

    Hi - is there an update as I cant get it to work on current version of Elementor

    • @csmacnee
      @csmacnee 7 місяців тому

      Everything works as per the video up until when I add the extra CSS text thereafter the KB effect stops

  • @woodbeastonyoutube9086
    @woodbeastonyoutube9086 2 роки тому +1

    Very good info

  • @adnankamen6470
    @adnankamen6470 10 місяців тому

    this is cool but the one problem with this is that many people do actually use a overlay (to darken) a (photograph) in a hero section to place contrast between the photograph and header or text in the foreground.. you can resolve this by placing a overlay in photoshop onto the image before uploading it to elementor, but still.

  • @ssrw3358
    @ssrw3358 2 роки тому

    Thank you!
    One question: When I applied this and looked at it on a large screen, it has added a gap left and right even though section is set to full width. I went over to advanced and made sure everything was set to "0", (both margin and padding) but that did not fix it.
    Any thoughts on how to fix that?

  • @jamieoxbridge4588
    @jamieoxbridge4588 Рік тому

    Is there a way to do this exact effect with containers yet?

    • @websquadron
      @websquadron  Рік тому

      Not tried it yet, but I will.

    • @tommyundluisa
      @tommyundluisa Рік тому

      ​@@websquadron Hey, have you had time to try it yet?

  • @magnusbylund
    @magnusbylund 2 роки тому

    Hi! Have they made any changes to Elementor since you made this? It´s not working for me? Thanks

    • @websquadron
      @websquadron  2 роки тому +2

      Should still work as it’s based on code. Are you using columns or containers?

    • @magnusbylund
      @magnusbylund 2 роки тому

      @@websquadron I am using a section. The section contains a column. The image are placed as a background overlay in the section. Just as you show?

    • @philippelignac1237
      @philippelignac1237 2 роки тому +1

      @@magnusbylund make sure you add /*...*/ for the comments

    • @magnusbylund
      @magnusbylund 2 роки тому

      @@philippelignac1237 Thank you very much! This was the issue. It works perfect!

    • @clikarquitectura
      @clikarquitectura Рік тому

      @@philippelignac1237 @Web Squadron @Magnus Bylund same issue, same kind of placed image as a background overlay in the section, but... what is /*...*/ for the comments??? Where to add *...*??? And, other question, could be possible that it isn´t working for me because I'm using Chrome????? Thanks for your help guys!

  • @chelofonte
    @chelofonte Рік тому

    I would love to learn how to do this in Bricks.

    • @websquadron
      @websquadron  Рік тому

      I haven't got the perfect Bricks solution (yet)

    • @chelofonte
      @chelofonte Рік тому

      @@websquadron I know a developer who claims to use the UIKit Ken Burns effect and the Advanced Custom Fields Repeater-type field for creating slideshows.
      Unfortunately, I can't follow his tutorial as he charges a $150 membership fee, but I'm sharing this with you because of your greater knowledge, hoping it might provide you with some insight on how to address the it.

  • @philippelignac1237
    @philippelignac1237 2 роки тому

    Hi Web Squadron, I used the code and it works Thanks - however, when the image is zooming it also squeezes my header and the header disappears, it only comes back when the image reverse to the original state- any idea how to fix this?

  • @answer4274
    @answer4274 2 роки тому +1

    👍

  • @matteovelicogna7948
    @matteovelicogna7948 10 місяців тому

    Not working on my site...Why? :(
    I did exactly what you told, same settings and code.

    • @websquadron
      @websquadron  10 місяців тому

      Not sure as I can't see/go in to your site.

  • @Hmetalz
    @Hmetalz Рік тому

    Can you make the code able to copy. Can’t copy and paste.

    • @websquadron
      @websquadron  Рік тому

      Sorry, you can't copy and paste?

    • @Hmetalz
      @Hmetalz Рік тому

      @@websquadron i was able to from desktop… but not my iPad. Lol

  • @pietropavanelli1
    @pietropavanelli1 3 місяці тому

    Infelizmente isso não funcionou!
    Nem direto.
    Nem através de CPT do crocoblock.🥺

    • @websquadron
      @websquadron  3 місяці тому

      Have you seen my updated method? ua-cam.com/video/vB_bfvPIjEI/v-deo.htmlfeature=shared