Play Video

Elementor Hide Or Show Section On Button Click 👈👈👈

Elementor Hide Or Show Section On Button Click. Elementor is a great free WordPress page builder plugin. There is a free version as well as a paid version of Elementor. In this series of videos we will be building some great elements on our WordPress website with the Elementor builder.
In this video we are going to create a button that hides or shows a section. We are going to create an button that targets a javascript function. When you click or tap on the button it will reveal or hide a section. This a very useful and space saving feature to have on your Elementor website.
There is a little bit of coding involved today, both javascript and CSS to build this feature. Don’t let the CSS coding put you off, it is very easy, and any code I write today I will paste below the video for you to use as you wish. You are welcome to copy the code and paste it into your site, CSS is a great thing to learn, so I encourage you to try out some of your own ideas to get familiar with it. You can’t break your site with CSS, if something doesn’t work simply delete the code to return back to how the site was previously.
So, follow along and see how easy it is to show or hide a section on button click, with a page built with the awesome free or pro version of elementor page builder
For more information on the Elementor page builder plugin check out our Elementor playlist below.

My Elementor Video Playlist :

Elementor Hover Effects Playlist:

Get Elementor From Here:

W3Schools Code:

My Blog :


/* Hide Section Initially Code */

#dsec {

/* Button Code */

.onclk button {
padding:20px 40px;
text-decoration: none;

.onclk button:hover {

———- CHAPTERS ———-

00:00 Intro
00:56 Code Page
01:30 Add A New Section
01:40 Add Code Widget
01:50 Add Button Code
02:21 Position Button
03:49 Get Javascript Code
04:30 Add HTML Widget
05:09 Add Unique Section ID
05:42 Give Section CSS ID
07:09 Style Button With CSS
14:16 Result


Elementor Ecommerce Store:

Divi Snippets:

Divi 4 Ecommerce Store:

Bootstrap 4 Basics:


WordPress Tips:


Bootstrap 4 Complete One Page Scrolling Website Tutorial :

Elementor WordPress Builder One Page Scrolling Site In 15 Minutes:

Bootstrap – How to edit a bootstrap template:

Divi Add a live facebook feed to your divi or any wordpress website:

Divi 4 Theme How To Build A Multi Page Website In 20 Minutes:

Elementor WordPress Builder How To Build A Parallax Section:

———- SOCIAL MEDIA ———-
Follow what I’m doing on:




Support the channel:

Courses I teach:


#YouTubeTips #WebDesignTips #FreeWebDesignTutorials #BuildYourOwnWebsite