The login module (sign in) displays a online form WordPress login, Divi-style, anywhere on your page. If you use WordPress with a member area, then add a online form connecting directly to a page can be very useful (instead of redirecting people to the online form WordPress login that uses a different style than your theme).

login page divi wordpress.png tutorial

How to add a login module to your page

Before you can add a login module to your page, you must first jump into the Divi Builder. Once the Divi theme installed on your website, you will notice a button Use Divi Builder above the post editor whenever you create a new page. Click on this button to activate Divi Builder and access all the Divi Builder modules. Then click on the button Use Visual Builder to start the generator in visual mode. You can also click 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 rows. If you are starting a new page, remember to add a row 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 you can also type the word "Connect" and then click "Enter" to automatically find and add the connection module! Once the module is added, you will be greeted by the module options list. These options are separated into three main groups: Contents , Design et Advanced .

Example use case: Add a custom login form to a member's area login page

Since membership sites require the user to log in to some or all of the content, the login module makes it easy to add a login form to your own login page. Also, 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 row (1 column). 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 description of the course or instructions for logging in]
Redirect to current page: YES

Design options

Field background color: # 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 custom styles for button: YES Button text size: 26px Button text color: #ffffff Button color: # 0c71c3 button: 0px Font button: default, upper case Add button icon: YES Button icon: Only display the icon when hovering over the button: NO

example of login page divi.jpg

That's all. The member's area site now has a personalized 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 blank.

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 your login form a solid background color, 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 as the background of your login box. If you chose to turn off background colors in the previous option, that 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.

Style options for the login module

In the Design tab, you will find all the module styling 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 settings that you can use to change anything.

option design module connection.png

Form field background color

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

Text color of the form field

The login form contains two input fields for username and password. You can use this setting to adjust the text color of these fields. If you have adjusted the background color of the form field, you can also adjust the text color 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 define 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 define the text color of the focused fields.

Use the focus border color

If you want to add border to 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 light. If your background is light, your text should 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 great 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 using bold, italics, capitals and underline options.

section header divi.png

Header font size

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 directly enter the desired text size value in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Text Color

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

Header letter spacing

Letter spacing 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 measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Row Height

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

Body font

You can change your body font by selecting the desired font from the drop-down menu. Divi comes with dozens of great 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 using bold, italics, capitals and underline options.

Body font size

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

Body text color

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

Spacing of body letters

Letter spacing 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 measurement units which means you can enter "px" or "em" depending on your size value 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 measurement units which means you can enter "px" or "em" depending on your size value 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.

border area module divi.png

Color of the border

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

Width of the border

By default, the borders are 1 pixel wide. 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 units of measure supported, which means you can change the default unit from "px" to something else like em, vh, vw etc.

Border style

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

Custom margin

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

custom margin.png

Custom padding

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

Use custom styles for the button

Enabling this option reveals various button customization settings that you can use to change the appearance of your module's button.

Button text size

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

Button text color

By default, the buttons adopt the accent color of your theme as defined in the Theme 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 button color.

Button background color

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

using the buttons divi module connection.png

Button Border Width

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

Button border color

By default, button borders adopt your theme's accent color as defined in the Theme Customizer. This option allows you to assign a custom border color to the button of this module. Select your custom color 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 by 3 pixels. You can reduce this value to 0 to create a square button or significantly increase it to create buttons with circular edges.

Spacing of button letters

Letter spacing 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 measurement units, which means you can enter "px" or "em" depending on your size value 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 great 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 using bold, italics, capitals and underline options.

Add button icon

Disabled, this setting will remove 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 which icon to use in your button. Divi has different icons to choose from.

color icon button

Adjusting this setting will change the color of the icon that appears on your button. By default, the icon color is the same as your button text color, 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 icon only when hovering over button

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

Button Hover Text Color

When the button is hovered over by a visitor's mouse, this 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 hovered over by a visitor's mouse, this 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 hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Hover Border Radius Button

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

Pointing note spacing button

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

Advanced options of the Login module

On 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 any of the module's many elements. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module in your child theme's style.css file.

login module

CSS ID

Enter an optional CSS ID to use for this module. An ID can be used to create a custom CSS style or to link 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 custom CSS styling. 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 to your website using the Divi theme options or the Divi Builder page settings.

Custom CSS

Custom CSS can also be applied to the module and any of the module's internals. In the Custom CSS section, you will find a text field where you can add custom CSS style sheets directly to each element. CSS entries in these settings are already wrapped in 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 deactivate your module on tablets, smartphones or desktops individually. This is useful if you want to use different mods on different devices, or if you want to simplify the mobile design by eliminating certain elements from the page.

[vc_row center_row=”yes”][vc_column width=”1/2″][vcex_button target=”blank” layout=”expanded” align=”center” font_family=”Raleway” font_weight=”700″ style=”flat” custom_background=”#18b69d” custom_hover_background=”#118d7a” custom_color=”#ffffff” custom_hover_color=”#ffffff” icon_right=”fa fa-download”]DOWNLOAD DIVI THEME [/vcex_button][/vc_column][vc_column width=” 1/2″][vcex_button url=”https://www.elegantthemes.com/affiliates/idevaffiliate.php?id=23065&url=40632&tid1=tutorials” target=”blank” layout=”expanded” align=”center” font_family =”Raleway” font_weight=”700″ style=”flat” custom_background=”#c4226e” custom_hover_background=”#8d184f” custom_color=”#ffffff” custom_hover_color=”#ffffff” icon_right=”fa fa-download”]DOWNLOAD THE TEMPLATES DIVI[/vcex_button][/vc_column][/vc_row]

Other Divi tutorials