Skip to Main Content

Divi tutorial: How to use the connection module (Log in)

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 600.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

The login module (login) displays a WordPress login form, Divi style, anywhere on your page. If you use WordPress with a member space, then adding a login form directly to a page can be very useful (instead of redirecting people to the WordPress login form that uses a different style of your theme).

login page divi wordpress.png tutorial

How to add a login module to your page

Before you can add a module to connect to your page, you must first jump into the Divi Builder. Once the Divi theme is installed on your website, you will notice a button Use Divi Builder above the publisher each time you create a new page. Click this button to activate Divi Builder and access all Divi Builder modules. Then click on the button Use Visual Builder to start the generator in visual mode. You can also click on the button Use Visual Builder when you browse your website in the foreground if you are connected to your WordPress dashboard.

divi builder

Once you have entered Visual Builder, you can click the gray plus button to add a new module to your page. New modules can only be added inside the lines. If you start a new page, do not forget to add a line to your page first.

connect module divi.png

Locate the login module in the list of modules and click on it to add it to your page. The list of modules is searchable, which means that you can also type the word "Connect", then click on "Enter" to search and automatically add the login module! Once the module is added, you will be greeted by the list of options of the module. These options are separated into three main groups: Contents , Design et Advanced .

Use case example: Add a custom login form on a login page to a member area

Since membership sites require the user to connect to all or part of the content, the login module makes it easy to add a login form to your own login page. In addition, you can choose to redirect users to this form instead of the default WordPress login page.

Here is a simple login page with the login module I will show you how to create:

connect to blogpascher.png

Using Visual Builder, add a new standard section to the membership login page with a fullwidth (1 column) row. Then insert the connection module on the line.

connect module divi.png

Update the connection settings as follows:

Content options

Title: Connection
Content: [enter a brief course description or instructions to login] Redirect to current page: YES

Design options

Background color of the field: # f0f0f0 Text color: Dark Header font: 35px Header color: # 888888 Body font size: 16px Border: Yes Border color: # 0c71c3 Border width: 1px Custom padding: 50px Top, 50px Right, 50px Bottom, 50px left Use the custom styles for the button: YES Button text size: 26px Button text color: #ffffff Button color: # 0c71c3 Width of the button button: 0px Font button: by default, uppercase Button icon Add: YES Button icon: Show only the icon at the button hover: NO

example of login page divi.jpg

That's all. The member-space site now has a custom login form where users will be redirected when they need to log in to the course. No need to settle for the default WordPress login form.

blogpascher login page.png

Connection module content options

In the content tab, you will find all the content elements of the module, such as text, images and icons. All that controls what appears in your module will always be found in this tab.

content option module connection.png

Title

The title will appear in the login box, above the login form.

Contents

The content will be displayed in the login box, under the title. If you want to add an additional description, you can use the field. Otherwise, leave it empty.

Redirect to the current page

Here you can choose whether the user should be redirected to the current page.

Use the background color

If you want to give a solid background color to your login form, select "yes" for this option and the background color you select in the next option will be used.

Background color

Select a background color to display in the background of your login box. If you chose to disable background colors in the previous option, this color will have no effect.

Admin label

This will change the module label in the constructor for easy identification. When you use the WireFrame view in Visual Builder, these labels appear in the module block of the Divi Builder interface.

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

Style options for the login module

In the Design tab, you'll find all the module's style options, such as fonts, colors, sizing, and spacing. This is the tab you will use to change the appearance of your module. Each Divi module has a long list of design parameters that you can use to change anything.

option design module connection.png

Form field background color

The login form contains two input fields for the username and password. You can use this parameter to adjust the background color of these fields.

Text color of the form field

The login form contains two input fields for the username and password. You can use this parameter to adjust the text color of these fields. If you have adjusted the background color of the form field, you can also adjust the color of the text to ensure a smooth color relationship.

Background color

When an input field is focused with a visitor's mouse, the colors change to clearly indicate which field is active. Here you can set the background color of the focused fields.

Focus text color

When an input field is focused with a visitor's mouse, the colors change to clearly indicate which field is active. Here you can set the text color of the focused fields.

Use the focus border color

If you want to add a border to the input fields when they are in focus, you can enable this option.

Color of the focus border

By using this setting, you can change the color of the border that appears on the focused input fields.

Text color

Here you can choose whether your text should be light or dark. If you are working on a dark background, your text should be clear. If your background is clear, your text must be dark.

Text orientation

Here you can adjust the alignment of your text.

Header font

You can change the font of your header text by selecting the desired font from the drop-down menu. Divi comes with dozens of large fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text by using the bold, italic, uppercase, and underlined options.

section header divi.png

Size of the header font

Here you can adjust the size of your header text. You can drag the range slider to increase or decrease the size of your text, or enter the value of the desired text size directly into the input field to the right of the slider. The input fields support different units of measurement, which means that you can enter "px" or "em" depending on the value of your size to change its unit type.

Color of the header text

By default, all Divi text colors appear in white or dark gray. If you want to change the color of your header text, choose the desired color in the color picker using this option.

Spacing of letterheads

The spacing of the letters affects the space between each letter. If you want to increase the space between each letter in your header text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different units of measurement, which means that you can enter "px" or "em" depending on the value of your size to change its unit type.

Height of the header line

Line height affects the space between each line of your header text If you want to increase the space between each line, use the range slider to adjust the space or enter the desired spacing size in the line. input field to the right of the cursor. The input fields support different units of measurement, which means that you can enter "px" or "em" depending on the value of your size to change its unit type.

Body font

You can change the font of your body by selecting the desired font from the drop-down menu. Divi comes with dozens of large fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text by using the bold, italic, uppercase, and underlined options.

Body font size

Here you can adjust the size of your body text. You can drag the range slider to increase or decrease the size of your text, or enter the value of the desired text size directly into the input field to the right of the slider. The input fields support different units of measurement, which means that you can enter "px" or "em" depending on the value of your size to change its unit type.

Body text color

By default, all Divi text colors appear in white or dark gray. If you want to change the color of your text, choose the desired color in the color picker using this option.

Spacing of body letters

The spacing of the letters affects the space between each letter. If you want to increase the space between each letter in your text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different units of measurement, which means that you can enter "px" or "em" depending on the value of your size to change its unit type.

Height of the body line

Line height affects the space between each line of text in your body If you want to increase the space between each line, use the range slider to adjust the space or enter the desired spacing size in the input field located to the right of the cursor. The input fields support different units of measurement, which means that you can enter "px" or "em" depending on the value of your size to change its unit type.

Use the border

Enabling this option will place a border around your module. This border can be customized using the following conditional parameters.

Are you looking for the best WordPress themes and plugins?

Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]

border area module divi.png

Color of the border

This option affects the color of your border. Select a custom color in the color picker to apply it to your border.

Width of the border

By default, the borders have a width of 1 pixel. You can increase this value by dragging the range slider or entering a custom value in the input field to the right of the slider. Custom measurement units supported, which means that you can change the default unit of "px" to something else, like em, vh, vw etc.

Border style

Borders support eight different styles: solid, dotted, dotted, double, groove, crest, inlay, and start. Select your desired style from the drop-down menu to apply it to your border.

Custom margin

Margin is the space added to the outside of your module, between the module and the next item above, below, or to the left and right of it. You can add custom margin values ​​to one of the four sides of the module. To remove the custom margin, remove the value added from the input field. By default, these values ​​are measured in pixels, but you can enter custom measurement units in the input fields.

custom margin.png

Custom padding

Fill is the space added inside your module, between the edge of the module and its internal elements. You can add custom fill values ​​to one of the four sides of the module. To remove the custom margin, remove the value added from the input field. By default, these values ​​are measured in pixels, but you can enter custom measurement units in the input fields.

Use custom styles for the button

Turning on this option reveals different button customization settings that you can use to change the appearance of the button on your module.

Button text size

This setting can be used to increase or decrease the size of the text in the button. The button changes as the size of the text increases and decreases.

Button text color

By default, the buttons adopt the accent color of your theme as defined in the theme's Customizer. This option allows you to assign a custom text color to the button of this module. Select your custom color using the color picker to change the color of the button.

Button background color

By default, the buttons have a transparent background color. This can be changed by selecting the desired background color in the color picker.

using the buttons divi module connection.png

Border Width button

All Divi buttons have a default 2px border. This border can be increased or decreased using this parameter. Borders can be deleted by entering a value of 0.

Button border color

By default, button borders change to the accent color of your theme as defined in the theme's Customizer. This option allows you to assign a custom border color to the button on this module. Select your custom color by using the color picker to change the color of the button border.

Button border radius

The radius of the border affects the roundness of the corners of your buttons. By default, the buttons in Divi have a small border radius that rounds the corners of 3 pixels. You can reduce this value to 0 to create a square button or increase it significantly to create buttons with circular edges.

Spacing of button letters

The spacing of the letters affects the space between each letter. If you want to increase the space between each letter in your button text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different units of measurement, which means that you can enter "px" or "em" depending on the value of your size to change its unit type.

Button Font

You can change the font of your button text by selecting the desired font from the drop-down menu. Divi comes with dozens of large fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text by using the bold, italic, uppercase, and underlined options.

Add a button icon

Disabled, this setting will remove the icons from your button. By default, all Divi buttons display an arrow icon on the hover.

Button icon

If icons are enabled, you can use this setting to choose the icon to use in your button. Divi has different icons to choose from.

Color icon button

Setting this setting will change the color of the icon that appears on your button. By default, the color of the icon is the same as the text color of your buttons, but this setting allows you to adjust the color independently.

Icon placement button

You can choose to display the icon of your button to the left or right of your button.

Show only the button hover icon

By default, button icons are only displayed during rollover. If you want the icon to always appear, turn off this setting.

Button Hover Text Color

When the button is flown over by a visitor's mouse, that color will be used. The color will change from the base color defined in the previous settings.

Hover button background color

When the button is flown over by a visitor's mouse, that color will be used. The color will change from the base color defined in the previous settings.

Color Hover Border Button

When the button is flown over by a visitor's mouse, that color will be used. The color will change from the base color defined in the previous settings.

Easily create your Online Store

Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]

Hover Border Radius Button

When the button is flown by a visitor's mouse, this value will be used. The value will change from the base value defined in the previous parameters.

Pointing note spacing button

When the button is flown by a visitor's mouse, this value will be used. The value will change from the base value defined in the previous parameters.

Advanced options of the Login module

In the Advanced tab, you'll find options that more experienced web designers might find useful, such as custom CSS and HTML attributes. Here you can apply custom CSS to one of the many elements of the module. You can also apply custom classes and CSS IDs to the module, which can be used to customize the module in the style.css file of your child theme.

login module

CSS ID

Enter an optional CSS identifier to use for this module. An ID can be used to create a custom CSS style or to create links to particular sections of your page.

CSS class

Enter the optional CSS classes to use for this module. A CSS class can be used to create a custom CSS style. You can add multiple classes, separated by a space. These classes can be used in your Divi child theme or in the custom CSS style sheet that you add to your page or website by using Divi theme options or Divi Builder page settings.

Custom CSS

Custom CSS can also be applied to the module and to one of the internal elements of the module. In the Custom CSS section, you will find a text field in which you can add custom CSS style sheets directly to each element. The CSS entries in these parameters are already wrapped in the style tags. So just enter the CSS rules separated by semicolons.

Visibility

This option allows you to control the devices on which your module appears. You can choose to disable your module on tablets, smart phones or desktops individually. This is useful if you want to use different modules on different devices, or if you want to simplify mobile design by eliminating certain elements of the page.

Other Divi tutorials

This article features 0 comments

Leave a comment

Your email address will not be published. Required fields are marked with *

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top
12 shares
Share6
tweet1
Save5