Help in making content change with the press of a button – WordPress and Elementor

[ad_1]

Hi. I am using Elementor to build some landing pages and at some point tried to use a Youtube tutorial that teaches the use of CSS ID, Class, Display: None and Showme| + a specific script to make some content hide and appear based in the press of a button. The thing is that the script may have been a malware as now my site is down and my host is trying to fix it. Yeah, duck me.

Soooo, hoping I get my site back, I am still in need to find an option to do all the content changing with the press of a button thing. Anyone has any idea where to find a script or plugin (for newbies as my coding is very lame) of a reliable source that I can use?

What I am trying to make is: I have like 5 products to sell. Each product has 2 variables: type and color. And each variable changes the price. As it is not an e-commerce site, I want something that changes the variables of a content box when the user click the product button, and that later changes the price of another content box based in the variables (also buttons) the user chooses.

I guess something like if and else would work here, but I can’t find anything like this for WordPress or Elementor. Should I look for something else? Does anyone here can appoint me where to go to find/learn how to do what I need?

Sorry my French and thx in advance.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer