How to Maximize Divi’s Mobile Viewports Using Rotated Copy

Posted on June 5, 2020 by in Divi Resources | 3 comments

How to Maximize Divi’s Mobile Viewports Using Rotated Copy

When designing a website, you have an important choice to make at the very beginning: “What device am I going to design for first?” Often, the answer is desktop. But just because you design for desktop first, doesn’t mean your mobile design can’t be as thorough. By using rotated copy, for instance, you can maximize Divi’s mobile viewports and fit more content inside the mobile viewports without overburdening your visitors or your design. In this tutorial, we’ll show you exactly how to do that inside Divi. You’ll be able to download the JSON file for free as well!

Let’s get to it.

Preview

Before we dive into the tutorial, let’s take a quick look at the outcome across different screen sizes.

mobile viewports

Download The Maximizing Mobile Viewports Layout for FREE

To lay your hands on the free maximizing mobile viewports layout, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our Divi Daily email list by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

Let’s Start Recreating!

Add New Section

Spacing

Start by adding a new section to the page you’re working on. Open the section settings and remove all default top and bottom padding.

  • Top Padding: 0px
  • Bottom Padding: 0px

mobile viewports

Add Row #1

Column Structure

Continue by adding a new row to the section using the following column structure:

mobile viewports

Sizing

Without adding any modules yet, open the row settings and modify the sizing settings as follows:

  • Use Custom Gutter Width: Yes
  • Gutter Width: 1
  • Equalize Column Heights: Yes
  • Width: 100%
  • Max Width: 50% (Desktop), 100% (Tablet & Phone)
  • Row Alignment: Left

mobile viewports

Spacing

Remove all default top and bottom padding next.

  • Top Padding: 0px
  • Bottom Padding: 0px

mobile viewports

Main Element CSS

To make sure all columns remain next to each other, we’ll add one single line of CSS code to the row’s main element too.

display: flex;

mobile viewports

Column 1 Settings

Animation

Then, we’ll open the column 1 settings and add the following animation:

  • Animation Style: Fade

mobile viewports

Main Element CSS

We’ll keep the column size on smaller screen sizes by adding the following line of CSS code to the column’s main element:

width: 40% !important;

mobile viewports

Column 2 Settings

Animation

Next, we’ll open the column 2 settings and apply the following animation:

  • Animation Style: Fade
  • Animation Delay: 200ms

mobile viewports

Main Element CSS

We’re keeping the column’s size on smaller screen sizes by adding the following line of CSS code:

width: 60% !important;

mobile viewports

Add Image Module to Column 2

Upload Image

Time to add modules. Add an Image Module to column 2 and upload a portrait image of your choice.

mobile viewports

Sizing

Move on to the module’s design tab and force fullwidth on the module.

  • Force Fullwidth: Yes

mobile viewports

Add Text Module to Column 1

Add H2 Content

In column 1, the first module we need is a Text Module containing H2 content.

mobile viewports

H2 Text Settings

Move on to the module’s design tab and modify the H2 text settings as follows:

  • Heading 2 Font: Montserrat
  • Heading 2 Font Weight: Light
  • Heading 2 Text Alignment: Center (Tablet & Phone Only)
  • Heading 2 Text Color: #000000
  • Heading 2 Text Size: 3vw (Desktop), 50px (Tablet), 40px (Phone)
  • Heading 2 Letter Spacing: -3px

mobile viewports

Sizing

Next, we’ll modify the width in the sizing settings.

  • Width: 89% (Desktop), 150% (Tablet & Phone)

mobile viewports

Transform Rotate

To rotate our module on smaller screen sizes, we’ll use the transform rotate settings.

  • Left: 270deg (Tablet & Phone Only)

mobile viewports

Position

We’re also repositioning the module differently across different screen sizes.

  • Position: Absolute
  • Location: Bottom Center (Desktop), Center (Tablet & Phone)
  • Vertical Offset: 50px

mobile viewports

Add Divider Module to Column 1

Visibility

The next and last module we need in column 1 is a Divider Module. Make sure the ‘Show Divider’ option is enabled.

  • Show Divider: Yes

mobile viewports

Line

Move on to the module’s design tab and change the line color.

  • Line Color: #000000

mobile viewports

Sizing

Modify the sizing settings too.

  • Width: 50% (Desktop), 30% (Tablet & Phone)

mobile viewports

Position

And complete the module settings by repositioning the module accordingly:

  • Position: Absolute
  • Location: Center Right

mobile viewports

Add Row #2

Column Structure

On to the next row, use the following column structure:

mobile viewports

Sizing

Without adding any modules yet, open the row settings and modify the sizing settings as follows:

  • Use Custom Gutter Width: Yes
  • Gutter Width: 1
  • Equalize Column Heights: Yes
  • Width: 100%
  • Max Width: 50% (Desktop), 100% (Tablet & Phone)
  • Row Alignment: Right

mobile viewports

Spacing

Remove all default top and bottom padding next.

  • Top Padding: 0px
  • Bottom Padding: 0px

mobile viewports

Main Element CSS

To make sure both columns remain next to each other on smaller screen sizes, we’ll add one single line of CSS code to the row’s main element.

display: flex;

mobile viewports

Column 1 Settings

Gradient Background

Next, we’ll open the column 1 settings and we’ll apply a gradient background.

  • Color 1: #1a9970
  • Color 2: #000000
  • Gradient Type: Linear
  • Gradient Direction: 153deg

mobile viewports

Animation

We’re using a delayed animation on this column too.

  • Animation Style: Fade
  • Animation Delay: 400ms

mobile viewports

Main Element CSS

We’ll, then, make sure we keep the column’s size on smaller screen sizes by adding the following line of CSS code to the column’s main element:

width: 25% !important;

mobile viewports

Visibility

Last but not least, we’ll hide the column’s overflows to make sure nothing surpasses the container.

  • Horizontal Overflow: Hidden
  • Vertical Overflow: Hidden

mobile viewports

Column 2 Settings

Background Color

On to the column 2 settings. Use the following background color for it:

  • Background Color: #f4f4f4

mobile viewports

Animation

Apply a delayed animation too.

  • Animation Style: Fade
  • Animation Delay: 600ms

mobile viewports

Main Element CSS

And complete the column settings by adding one single line of CSS code to the column’s main element. This will make sure the column keeps its size on smaller screen sizes.

width: 75% !important;

mobile viewports

Add Text Module to Column 2

Add Content

Time to add modules. Add a Text Module to column 2 with some description content of your choice.

mobile viewports

Text Settings

Move on to the module’s design tab and change the text settings accordingly:

  • Text Font: Open Sans
  • Text Size: 15px (Desktop), 14px (Tablet), 13px (Phone)
  • Text Line Height: 2.4em

mobile viewports

Sizing

Then, we’ll change the sizing settings.

  • Width: 80%
  • Module Alignment: Center

mobile viewports

Spacing

We’ll complete the module settings by adding some custom padding values to the spacing settings.

  • Top Padding: 15%
  • Bottom Padding: 15%

mobile viewports

Add Button Module to Column 2

Add Copy

The next and last module we need in column 2 is a Button Module. Add some copy of your choice.

mobile viewports

Alignment

Move on to the module’s design tab and change the button alignment.

  • Button Alignment: Center

mobile viewports

Button Settings

Style the button next.

  • Use Custom Styles For Button: Yes
  • Button Text Color: #000000
  • Button Background Color: #ffffff
  • Button Border Width: 0px
  • Button Border Radius: 0px

mobile viewports

  • Button Font: Montserrat
  • Show Button Icon: Yes
  • Button Icon Placement: Left
  • Only Show Icon On Hover for Button: No

mobile viewports

Spacing

And complete the module settings by adding some custom padding values to the spacing settings.

  • Top Padding: 2%
  • Bottom Padding: 2%
  • Left Padding: 10%
  • Right Padding: 10%

mobile viewports

Add Text Module to Column 1

Add Content

In column 1, the only module we need is a Text Module. Add the following content to the content box: ‘— 01’.

mobile viewports

Text Settings

Move on to the module’s design tab and change the text settings accordingly:

  • Text Font: Montserrat
  • Text Font Weight: Thin
  • Text Color: #ffffff
  • Text Size: 50px (Desktop), 40px (Tablet), 35px (Phone)
  • Text Alignment: Center

mobile viewports

Sizing

Increase the module’s width next.

  • Width: 150%

mobile viewports

Transform Translate

Then, go to the transform settings and reposition the module by modifying the transform translate settings:

  • Bottom: -50% (Tablet & Phone Only)

mobile viewports

Transform Rotate

We’re rotating the module on smaller screen sizes as well.

  • Left: 270deg (Tablet & Phone Only)

mobile viewports

Position

And we’ll complete the module settings by repositioning the module in the advanced tab.

  • Position: Absolute
  • Location: Center

mobile viewports

Clone Section for Reuse

Once you’ve completed the first section, you can clone it up to as many times as you want.

mobile viewports

Change All Copy & Links

Make sure you change all copy and links.

mobile viewports

Change Image

Along with the portrait image and you’re done!

mobile viewports

Preview

Now that we’ve gone through all the steps, let’s take a final look at the outcome across different screen sizes.

mobile viewports

Final Thoughts

In this post, we’ve shown you how to maximize your mobile viewports inside Divi. More specifically, we’ve used rotated copy to fit more content inside our viewports without creating an overwhelming design experience. You were able to download the JSON file for free as well! If you have any questions or suggestions, feel free to leave a comment in the comment section below.

If you’re eager to learn more about Divi and get more Divi freebies, make sure you subscribe to our email newsletter and YouTube channel so you’ll always be one of the first people to know and get benefits from this free content.

Premade Layouts

Check Out These Related Posts

3 Comments

  1. Really nice post. You guys from Elegant Themes always offer to people accurate and cool informations. Keep up the good work.

  2. This is a really nice tip! It is always nice and refreshing to have out of the box ideas to adapt the websites to mobile view 🙂 Only… if there is a width and max-widht properties, why was it needed to use the extra css?

    • For some reason, Elegant Themes doesn’t provide options for Width and Max Width in the Design tab for Columns. Not sure why though.

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today

Pin It on Pinterest