4 Ways to Add Divi Button Modules Side by Side

by | Oct 22, 2023 | Etcetera | 0 comments

There are lots of circumstances the place one would possibly need to upload Divi buttons aspect by means of aspect. For headers on touchdown pages, it’s just right to supply an attention-grabbing call-to-action. Twin buttons are a well-liked method to try this. As with any issues Divi, there may be a couple of method to achieve the required end result. There are a couple of ways in which you’ll be able to have your buttons in Divi subsequent to one another. You’ll be able to use columns, upload some CSS, or skip out on the usage of the local Divi Button Module altogether.

Let’s stroll via 4 strategies (and an advantage 5th tip!) that can assist you get your buttons in Divi to play great with each and every different. The usage of Divi’s FREE Portfolio Layout Pack, we’ll discover the other ways to succeed in this.

Set up the Divi Portfolio Touchdown Web page Structure

To begin, we’ll set up the web page format. We first wish to create a brand new web page in WordPress. From the WordPress dashboard, hover over the Pages menu merchandise from the left-hand menu. Subsequent, we click on Upload New.

Add new page for Marketing Agency Landing Page

As soon as throughout the default WordPress editor Gutenberg, set a name for your new web page. Subsequent, click on at the red Use Divi Builder button.

Activate the Divi Builder

You’ll then be offered with 3 choices. We can click on at the red heart button, Browse Layouts.

Browse the free layouts provided with Divi

This may increasingly open up Divi’s huge format library, which comes full of pre-designed pages for you to make a choice from. We’ll be deciding on the Portfolio Layout Pack

Select the Divi Portfolio Template

From the Portfolio Structure Pack, make a choice the About Web page Structure.

Use About page layout

Then, click on at the blue Use This Structure button. Look ahead to the format to put in for your new web page. In spite of everything, click on the golf green Submit button to make your web page and new format reside.

We’ll paintings with the format’s black Header phase for many of our educational. Let’s dig in!

How you can Upload Divi Buttons Aspect by means of Aspect

You’ll be able to upload Divi Buttons aspect by means of aspect in quite a lot of techniques. Our first method will likely be by means of the usage of the default Divi column construction.

Use Columns to Upload Divi Buttons Aspect by means of Aspect

From our web page format, we will be able to see that our header phase has two columns. We can re-design this phase with a uniqueness phase to permit us so as to add two Button Modules aspect by means of aspect within the first column.

Future position of Button Modules

Including New Speciality Segment

First, we click on at the blue plus icon. This may increasingly permit us so as to add some other phase. We can upload a Speciality Segment, so click on at the purple and orange Speciality Segment icon.

Add Specialty Section to layout

After clicking this icon, you are going to be offered with a collection of sections. Realize that, in contrast to common sections, uniqueness sections assist you to mix other column constructions inside a column. That is what we’ll be the usage of to put two Button Modules aspect by means of aspect. Choose the primary row and column aggregate.

See also  WordPress vs Django CMS

Select first specialty section option

This may increasingly permit us so as to add our web page header around the complete width of the column. On the other hand, it’ll additionally permit us to put two Button Modules aspect by means of aspect beneath. As we’re recreating the default header inside this format pack, we can observe a black background colour to the phase. Hover over the orange phase and make a choice the equipment icon to open the settings for the phase.

Open specialty section settings

Scroll all the way down to the Background tab. Choose the colour picker and make the background of phase #000000. Click on the golf green checkmark on the backside of the settings field to save lots of your styling selection.

Add color to section background

With our phase created and styled, we can click on the golf green plus icon within the first column. Subsequent, we’re going to make a choice a one-column format.

Add new column to row layout

With our first row in position, we can drag the contents of the primary column of the preliminary header phase into this row.

Move text modules to new section

We can do the similar to the contents of the second one column. We click on at the transfer arrow icon and drag the Symbol Module and the Textual content Module into the second one column of the brand new uniqueness phase we simply created.

Move contents of second column into new second column

Once we’ve moved the modules we’d like from the unique phase, we will be able to delete them. Hover over the phase menu and click on at the trash can icon. This may increasingly delete the phase with its row.

Delete old section

Upload Button Modules

Within the first column of our uniqueness phase, we can click on at the inexperienced plus icon so as to add a 2nd row to this column. We’re going to make a choice the two-column format icon.

Add new row with two columns

Subsequent, we can upload a Button Module to each and every of the columns of this new row. To try this, click on the gray plus icon, then make a choice the Button Module icon so as to add a button to the primary column.

Add Button Modules

Styling the Button Module

Throughout the Content material tab, replace the button’s Textual content to mirror your wishes. In our case, we modified the textual content to mention, My Resume.

Update text on button

Subsequent, click on at the Design tab, then click on at the Button tab. Use the next settings to taste the button.

Button Design Settings:

  • Use Customized Types for Button: Sure
  • Button Textual content Measurement: 14px
  • Button Textual content Colour: #000000
  • Button Background: #ffffff
  • Button Border Width: 0px
  • Button Font: Archivo
  • Button Font Taste: All Caps
  • Display Button Icon: Sure
  • Button Icon: Default
  • Button Icon Placement: Proper

Now, we’re going so as to add some padding to our Button Module. Then, we click on at the Spacing tab. Give the button the next padding settings.

Spacing Design Settings:

  • Best and Backside Padding: 16px
  • Left and Proper Padding: 24px

Add padding to Button Module

Click on at the inexperienced test mark to save lots of your styling choices.

Create a 2d Button Module

It’s time to create and position our 2nd button subsequent to our first button. At first, hover over the primary button and click on the replica icon. This may increasingly replica the module.

Duplicate Button Module

Then, drag the duplicated module to the second one column.

Move duplicated Button Module

Now that our 2nd Button Module is within the column let’s click on at the equipment icon. This may increasingly open the settings for this button.

Edit second button module

Within the Content material tab, edit the button’s textual content to suit your wishes.

Edit second button module

As soon as within the Button Module’s settings, replace the button’s textual content. In spite of everything, click on the golf green test mark to save lots of your edits to the second one button.

Edit second button module text

In any case, you are going to have two Button Modules, aspect by means of aspect.

Final look

The usage of CSS to Position Divi Buttons Aspect by means of Aspect

Differently so as to add Divi buttons aspect by means of aspect is by means of the usage of CSS. With just a unmarried line of CSS, we will be able to succeed in side-by-side twin buttons in Divi. First, let’s prep our phase.

Prepping Our Segment

Very similar to our earlier approach, we’ll wish to regulate our phase. On this case, we’ll use a normal Divi phase as a substitute of a uniqueness phase. To start, we click on the orange plus icon and make a choice the blue common phase icon.

See also  An Thrilling New Use Case for Gutenberg: Newsletters

Creation section regular section

Now that our new phase has been created, we’ll upload rows and columns. We can make a choice the two columns, 50% + 50% format icon.

Add new rows and columns to our section

Seeing that our phase has been created, let’s give it a black background, very similar to the former phase. Click on at the equipment icon throughout the blue phase menu. Then, click on at the Background tab. Choose the Background Colour icon and set the background colour to #000000.

Set background color for section

Click on at the inexperienced test mark to save lots of our phase styling. Subsequent, transfer the entire modules from the uniqueness phase to this new phase. In spite of everything, we can click on the trash can icon in our earlier phase and delete the uniqueness phase.

Delete specialty section

Observe that the Button Modules don’t seem to be aspect by means of aspect but. They’re resting on best of one another. Let’s alternate that with some CSS.

Including CSS to Make Our Divi Buttons Sit down Subsequent to Every Different

To start, we click on at the equipment icon for the row.

Edit row

Click on at the Complicated tab after which the CSS ID and CSS Categories tab. Set a CSS magnificence for the row. In our case, we can give it a category identify of side-by-side-1.

Set CSS class for row

In a while, click on at the inexperienced checkmark icon to save lots of the additions to the row. Now, we click on the red circle button in the midst of the display.

Open page settings menu

Subsequent, click on at the red equipment icon. This may increasingly open the Web page Settings.

Open page settings menu

Throughout the Web page Settings, click on at the Customized CSS tab. As soon as there, upload the next line of CSS:

/* Aspect by means of Aspect Buttons v1 */
.side-by-side .et_pb_button_module_wrapper {
show: inline-block;
margin-right: 25px;
}

Add custom CSS to Page Settings
The worth for the precise margin may also be adjusted to extend or lower the gap between each buttons. As soon as you’re glad, click on the golf green test mark to save lots of your paintings!

Divi Buttons Side by Side with CSS V1

The usage of Flex Field to Upload Divi Buttons Aspect by means of Aspect

In case you’d like, you’ll be able to additionally use Flexbox to put your Button Modules subsequent to one another. To start, let’s assign a special CSS magnificence to our column. To begin, click on at the equipment icon inside our row.

Edit row

Throughout the row’s modal field, click on at the equipment icon for the primary column.

Begin to edit column

Whilst within the column settings, click on at the Complicated tab. Then, upload a CSS magnificence of .side-by-side-2 to the column. Click on at the inexperienced checkmark icon to save lots of your adjustments.

Set CSS class for column

Subsequent, we’ll navigate again to the web page settings display. Click on at the red circle button with 3 dots within the middle of the display.

Open page settings menu

Then, click on the red equipment icon.

Open page settings menu

In our Web page Settings, click on at the Complicated tab and use the next CSS snippet:


/* Aspect by means of Aspect Buttons v2 */
.side-by-side-2 {
show: flex;
flex-wrap: wrap;
hole: 15px;
}

CSS Snippet with Flexbox

The valuables column-gap may also be adjusted so as to add extra spacing between the quite a lot of modules throughout the column. Right here’s the general glance!

Add Divi Buttons Side by Side with Flexbox

Non-Conventional Choice: Use the Complete-Width Header Module.

It’s imaginable to have two buttons in Divi aspect by means of aspect with out the usage of two separate Button Modules. The Divi Fullwidth Header Module has the choice so as to add two buttons inside it. Let’s see how shall we mimic the sections we’ve created above with one unmarried module.

Upload Complete-Width Segment and Module

At first, we’ll wish to upload a Complete Width phase to our web page. Click on at the blue plus icon. Then, make a choice the red Fullwidth phase icon.

Add Full Width Section

From the full-width modules to be had, click on at the Fullwidth Header icon.

Add Full Width Header Module

After including our Fullwidth Header, let’s click on on its equipment icon to start out styling and including content material to the module.

Edit Fullwidth Header Module

Including Content material to Module

Within the Content material tab of the module, we will be able to use the content material from the modules above to fill out the fields throughout the Fullwidth Header Module.

See also  Magnify the Attainable of Your WordPress Site with a Cellular App

Add content to Fullwidth Module

The location of modules and parts will likely be other; on the other hand, the entire items – the textual content, name, subtitle, symbol, and frame textual content are provide. What used greater than 5 modules may also be achieved with one, and now have the Divi buttons aspect by means of aspect.

Multiple modules vs. a single module

Styling the Fullwidth Header Module

Now that the content material from the modules has been inputted into the Fullwidth Header module, we will be able to cross forward and delete the former phase. Click on at the garbage can icon from the blue phase menu.

Delete old section

Let’s start to taste our Fullwidth Header module to check our format pack. At the Design tab, click on the Symbol tab. Then, set the rounded corners to 500px for all corners.

Setting the image rounded corners

Subsequent, click on at the Identify Textual content tab. Set the heading degree of the name to h4. Go away all different settings to their default.

Title text styling

Subsequent, transfer to the Subtitle Textual content. Click on at the Subtitle textual content tab, and use the next settings to taste it.

Subtitle Textual content Design Settings:

  • Subtitle Font Weight: Daring
  • Subtitle Textual content Measurement: 48px
  • Subtitle Line Peak: 1.3em

Subtitle text styling

For the Button tab, we’ll use the similar settings for Button One and Button Two used for the person Button Modules. You’ll be able to to find the ones settings under.

Button Design Settings:

  • Use Customized Types for Button: Sure
  • Button Textual content Measurement: 14px
  • Button Textual content Colour: #000000
  • Button Background: #ffffff
  • Button Border Width: 0px
  • Button Font: Archivo
  • Button Font Taste: All Caps
  • Display Button Icon: Sure
  • Button Icon: Default
  • Button Icon Placement: Proper
  • Button Padding:
    • Best and Backside: 16px
    • Left and Proper: 24px

Styling button one and two within the module

To complete off our styling of this module, we trip again to the Content material tab. Right here, we set the Background Colour of the module to #000000.

Set background color of module

Whilst the Fullwidth Header module doesn’t glance precisely just like the header from the format, it comes lovely shut. We will be able to see how easy it’s to make use of a unmarried module to get two Divi buttons subsequent to one another.

Finished header module

Bonus Choice: Use a 3rd-Celebration Plugin

You’ll be able to glance to the Divi Marketplace to additionally can help you position Divi buttons subsequent to one another. Plugins like Divi Plus, Divi Flash, and Divi Supreme Pro all have modules that assist you to position 2 or extra buttons subsequent to one another. You could imagine looking out within the Divi Market to peer if a third-party plugin could possibly can help you create extra horny buttons on your subsequent undertaking.

Wrapping it All In combination

Divi means that you can customise its local modules the usage of its integrated gear or CSS. Whether or not you utilize a normal phase or probably the most uniqueness sections, you’ll be able to upload buttons subsequent to one another. CSS means that you can get technical together with your design with out sacrificing ease of use. In case you’d relatively no longer take care of more than one modules, you’ll be able to to find that the Fullwidth Header module allow you to have the ability to position buttons subsequent to one another. In spite of everything, you’ll be able to additionally peruse the Divi Market to search out plugins that experience twin or more than one buttons or call-to-action modules that can assist you to have your buttons subsequent to one another.

The publish 4 Ways to Add Divi Button Modules Side by Side seemed first on Elegant Themes Blog.

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!