Category : elementor

I’m trying to access a data attribute (data-elementor-lightbox-title)for an anchor in order to output the titles on mobile. Here’s the code I tried to access all of the anchors on the page. var el = document.querySelectorAll(‘a.dataset.elementorLightboxTitle’); console.log(el); Here’s an example of one of the anchors with the data-elementor-lightbox-title attribute that I’m trying to access: <a ..

Read more

I have created a code which will check if zone is nz real then display popup otherwise do not. it should work on normal checkout process and page refresh also. right now it’s working on page refresh only. without page refresh it isn’t displaying popup. File : Functions.php add_action( ‘woocommerce_cart_totals_after_shipping’ , ‘shipping_zone_targeted_postcodes_custom_notice’ ); add_action( ‘woocommerce_review_order_after_shipping’ ..

Read more

I want to make a title entry effect, similar to these references: https://localmedia.ch/ and https://essentials.pixfort.com/original/sliding-text/, but I don’t know how to make the effect work when the screen arrives at the element as an entrance animation, I’m using Elementor in WordPress, but I haven’t found ways to do it, so here’s my current code: https://codepen.io/tomasag/pen/oNYPvop ..

Read more

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

Read more

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() { ..

Read more