WordPress knowledge sharing

How do I create a GeneratePress slide out navigation menu?

GeneratePress slide out navigation menu The design style of the web page is simple and simple. It is easy to use as a navigation menu, and it can also be used in gadgets. Weiss notes share the detailed steps of how to create a slide out navigation of GeneratePress.

1. What does the GeneratePress slide out navigation menu look like?

As shown in the figure below, there are three horizontal navigation icons in the upper right corner of the page. After clicking, a slide out navigation menu will appear. There can also be multiple multi-level menus under each main menu.

 What does GeneratePress slide out navigation look like

2. Install the Generatepress extension

To realize slide out navigation function, you need to use the GP Premium plug-in. This plug-in is an advanced version of the GeneratePress theme, which can implement many advanced functions. Please refer to Detailed Graphic Tutorial of GP Premium Plug in Installation and Deployment

Two core 4G memory and 3M bandwidth are selected for the theme and plug-in of foreign website construction, which can run smoothly.
Domestic servers: Alibaba Cloud Tencent Cloud (All have vouchers, which can be used to save money when paying), I don't know how to select regions and configurations. Please add Lao Wei's contact information on the right side of the page. Let's study it together.

Foreign trade websites, B2C/C2C, etc. suggest registering domain names abroad. open Namesilo official website , enter the domain name to be registered in the search box, select it and then register. Remember to use the discount code to save money before paying. Discount code click Course of domain name registration of foreign domain name provider Namesilo obtain.

Suggested choice of foreign trade website Hostinger virtual host , the price is cheap and the performance price ratio is very high! Hostinger topic
SiteGround virtual host Moderate price, good service! SiteGround Theme

Slide out navigation is an advanced function provided by the GP Premium plug-in. After purchasing and installing the GP Premium plug-in below, upload, install and enable it.

Log in to WordPress background>Appearance>GeneratePress, and then enable the Colors, Menu Plus, and Typography modules. These three modules are respectively responsible for slide out navigation function, slide out navigation background color, and slide out navigation font color. With these three modules, the slide out navigation function can be comprehensively designed.

  GP Premium enables Menu Plus, Colors and Typography modules in turn

3. Add slide out navigation menu

Create a new slide out navigation menu, or choose to use an existing menu, but do not repeat it. No menu will be added. Please move to How to set WordPress navigation menu and custom menu

Check Off Canvas Menu in the menu settings, and it will become a slide out navigation menu.

 GeneratePress Add slide out navigation menu

4. Open slide out navigation menu

After the above preparations are completed, you can start and slide out the navigation menu.

Open WordPress Background>Appearance>Customize, enter layout layout>off canvas panel, the first option is on, off, mobile only, desktop only, etc., and select four states: on, off, mobile only, desktop only. Of course, we choose on.

  • Style: slide, overlay. Sliding means that the navigation menu appears by sliding on the left or right; Overlay is the full screen overlay page content style.
  • Slide: If slide is selected above, select left or right, and the left and right sides of slide navigation will appear.
  • Close Button: close button. It is X, the button to turn off sliding navigation, that appears inside the inside navigation or outside the outside navigation.
  • Menu Item Height: navigation menu height. Adjust the navigation menu height.

While adjusting the settings above, you can see the results in real time on the right page, which is very convenient.

 GeneratePress opens and slides out the navigation menu

5. Slide out font and color settings of navigation menu

You can also change the default font and color style, including font size, background color, font color, etc.

  • Modify font: Customize>Typography font>Off Canvas Panel slide out navigation
  • Modify color: Customize>Colors>Off Canvas Panel slide out navigation
 GeneratePress slides out the font and color settings of the navigation menu

6. Widgets add elements to slide out navigation


If you want to add other elements in the slide out navigation, you can add them in the gadget.

Navigate to WordPress background>Appearance>Widgets, click+and select to add appropriate elements to Off Canvas Panel Slide out of the navigation module.

The old Wei demo uses the Gutenberg editor to add a picture or other appropriate elements, such as paragraphs, titles, buttons, videos, tables, and so on.

If you use a classic editor, you can drag any existing elements from the left side to display them.

 Gadgets add various elements to the GeneratePress slide out navigation

Let's take a look at the results achieved as follows:

 GeneratePress slide out navigation menu effect

You can even use widgets to add content without making navigation menus.

GeneratePress slide out navigation is very flexible. As long as you take time to polish it carefully, you can make a beautiful slide out navigation.

Like( one )
Article name: How to create a GeneratePress slide out navigation menu
Article link: https://www.vpsss.net/26409.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.