Hello henriharbor,

hope you’re having a great day.

You can use Vanilla Javascript to perform this, here you are the steps you can follow to Show/Hide an element/section using Premium Button

  • First, you need to get the Id or the class name of the element/section you need to show/hide
  • Here you are, the code you can use to perform that
  • document.getElementById("your_id").classList.toggle("hide");

  • Then, you can define this css property in your css file
  • .hide{ display: none; }

  • Also, you can use class name to perform the same event
  • document.getElementsByClassName("className")[index].classList.toggle("hide");

If you have any questions, please feed me back.


  • This reply was modified 1 year ago by  Abanob.