I’m currently trying to add the image title to the slideshow media widget in elementor pro through the code attached here : jQuery(‘.elementor-carousel-image’).attr(‘id’,’slideshowImage’) var slideshowDiv = document.querySelectorAll("#slideshowImage"); for (var i = 0; i<slideshowDiv.length; i++) { var content = document.createTextNode("Title"); slideshowDiv[i].appendChild(content); } As of now it is able to show the text "Title" at the top ..
Category : elementor
I wanna add some validation for a WordPress form made by Elementor I am pretty sure my code works well in chrome inspector and my js file enqueued in the right way var role = document.getElementsByName("role"); role[0].onclick = function() { var code = document.getElementsByName("digfcountrycode"); code[0].attributes.value = "+963" code[0].hidden = false; } role[1].onclick = function() { ..
can anyone help me figure out how to access wp.media when editing a page using the Elementor plugin? We want to add a new image upload source from Brandfolder. To do this, I added a button to the WordPress media library window and now, by clicking on it, we want to load pictures from another ..
Problem: I need to get the scroll position of the page. I need get the scroll position. I ran the below code in normal html offline to test my project and it worked, but when I brought it over to wordpress, the scrolling code stopped working. I’m assuming Elementor has something overriding the code below. ..
I needed to write some custom stuff involving svgs and some scripts for a client. The whole thing worked locally in a test html file I did so I went to wordpress and dropped my code into the HTML widget. It doesn’t work anymore. Does wordpress not allow svg or scripts to be in the ..
I have placed an accordion widget on Elementor pro and then I have a button to change its content with javascript: var foo = document.getElementById("IDBOX").innerHTML; foo = foo.replace("AAA", "AAA"); document.getElementById("IDBOX").innerHTML = foo; After the button is pressed, the accordion doesn’t open anymore. The html portion before and after javascript runs is exactly the same. Source: ..
I’m trying to align elements with Elementor on a scalable component. However the vertical aligment of elements with Elementor is a little bit tricky. I am trying to achieve this layout, but I can’t find a way to align the bottom button, to always be on the bottom. Can you help me with this? Any ..
I am trying to create a jQuery that will allow me to show/hide sections by class on the website when I click on a selected button. I have tried created the text/button with css class websites and a section with a css class web, then : $("#websites").click(function(){ $(".web").hide(); }) But this is not working for ..
I am using elementor free version on wordpress and I am having trouble using the motion effect because some of my section is not properly working like for example: 1st section 2nd section When I am on the 2nd section the motion effect of the 1st section will activate and that’s not what I want ..
I have a popup created with Elementor that plays a video when opened. I am trying to get it to close after the video if finished (say 90 seconds), but I can’t find how to close an element or Popup with Javascript. I have tried something like this https://github.com/elementor/elementor/issues/7085, but as it’s not a click ..
Recent Comments