Change image on accordion tab click in Elementor Pro

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 68

  • @oOKiniaKissOo
    @oOKiniaKissOo 4 місяці тому +2

    Omg I was fighting with chat gpt and copilot all day to tell me how to do it and they FAILED. I can't believe I didn't search on youtube earlier. with your video I did it in 10 minutes it wasn't even difficult. YT is always filled with heroes like you who don't wear capes 😂 You saved me thank you!!

  • @LytboxStudio
    @LytboxStudio 2 роки тому +5

    I dig this method for the switching images. Another good one! Cheers!

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

      Thanks man! Nice to see you here

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

      @@UrielSoto Hii, i have problem. I use advanced accordion from essential addon cause need customize the content with save template. But this accordion nothing number like #elemenotor-tab-3435 do u have idea for this?

  • @anupamajosh
    @anupamajosh 10 місяців тому +1

    Great video. I was looking for this and found it. Thanks for your amazing content. Keep them coming!!!

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

    Thank you for helping people who don't use Pro.

  • @matheuss1810
    @matheuss1810 Рік тому +3

    Muito obrigado, salvou um brasileiro😀

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

    Great & Easy Method, Thank You, Uriel Soto :)

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

    Hi thx for the great content.
    How can I use this metod to change a Elementor video block?

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

    Thanks, just what I was looking for!

  • @combinedcreative
    @combinedcreative 9 місяців тому +2

    I noticed that Elementor changed its tags so now had to use "#e-n-accordion-item-" and it works perfectly.
    However is there any way to get a smooth fadeIn of the image after you click?

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

    Very HELPFUL!! THANK YOUU!

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

    thank you, this worked perfectly

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

    Nice! Thanks for sharing this Elementor trick!

  • @aryahmdm
    @aryahmdm Рік тому +5

    is there any css to make the image fade in/out whenever we switch between image? This is a great tutorial btw, thank you!

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

      After this line: jQuery(".toggle-img img").attr('src',img)
      Add this code:
      .animate({opacity: '0'}).animate({ opacity: '1'});

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

    Great Tutorial, thank you very much.

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

    Thank you!

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

    It's working fine, if we want to replace not even an image but a div or full widget? (call to action elementor widget) then what will be code?

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

    Thank you so much brother

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

    Nice work, Thanks. is it possible to get something similar but on hover! like using a icon box ou image box, 3 or 4 widgets, when we hover the text, the image change?

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

      Yes Ill add it to the list. Change image on hovering a different element

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

    Is it possible to add animation for images on change? If so, please share code. Thank you :)

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

    thank u, great tutorial.

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

    This is SUPER dude!

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

    You're the best

  • @sagargala6195
    @sagargala6195 13 днів тому

    How can we add elementor template instance of image

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

    Is it possible to use one function to change img src dynamically? Maybe create variable for img src and update it according to left link href

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

      Can you elaborate on this?

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

    Great tutorial, but I have one request/issue:
    How can we change back to the very original image if the user closes all the tabs?

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

      Have your desired first image as the accordeon item no1

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

    Thank you and subsribed your channel 👍👍👍👍👍👍

  • @DonDiablo_US
    @DonDiablo_US 11 місяців тому

    Gracias

  • @PriyathamMuddala
    @PriyathamMuddala 11 місяців тому

    How do I do it for the Divi theme builder?

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

    Thanks bro !

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

      I used it divi

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

    Can we do same with video?

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

    Very cool!

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

    How do I have to edit the code, when I have more than 1 of these accordions on one singe page?

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

    Hey man, got a more complicated problem so I thought if you have time you could help me. I have tabs, and above the tabs, actually the header pages that I want to be changed when the one of the tabs is clicked, I tried with slides but I'm new in this so I don't know how to connect them, I could try with images but I need template cuz there is text on that page, sorry for messy explanation, hope you see this.

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

    I'm wondering if this mobile responsive too?

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

    I need two of these accordions on the same page. It's not working under this instance.

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

    And how does it look on mobile view?

  • @ldelmar3875
    @ldelmar3875 11 місяців тому

    is there any solution that would not require coding? I basically just want the headlines on the left and the switch the content on the right (being different containers that I can edit and customize in elementor)

    • @UrielSoto
      @UrielSoto  11 місяців тому

      Using the experimental feature called nested elements or just adding a elementor template shortcode

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

    How can I use this metod to change a Elementor video block?

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

    Is it possible to reverse this so that when you click on an image it opens the accordion.

  • @spinringsmusic8433
    @spinringsmusic8433 10 днів тому

    elementor new update id has changed please check that when configuring script

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

    Brother this is not working with tab. have you made and tutorial on the same method using tab?

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

      Tab might use a different css class

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

    I can't see any css to animate image while loading. It's just simply change.

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

    Tried this but nothing worked.

  • @luanafabianski2862
    @luanafabianski2862 11 місяців тому +1

    testei exatamente como no vídeo e não funcionou

  • @Moderator.
    @Moderator. Рік тому +2

    Not working anymore.

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

      I noticed the same unfortunately. The title "tab" labeling doesn't seem to exist anymore when I inspect. Looks like elementor updated their accordion widget and that may be part of the problem?

    • @ThatGuyBarrold
      @ThatGuyBarrold 10 місяців тому +1

      @@freereinveterans inspect the element. I had to update from "#elementor-tab-title-" to "#e-n-accordion-item-" and then it worked perfectly 👌😁

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

      @@ThatGuyBarrold Thank you for your comment!! I was lost because it's not working but your comment is the solution to make it work.

    • @astralinerscity
      @astralinerscity 2 місяці тому +1

      @@ThatGuyBarrold saved the day, thanks

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

    not working in firefox, demonstrate with elementor pro

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

    How to add multiple images?

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

      I'll have something coming out soon.

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

    no work in firefox