Divi Tablet Styles not Applying on iPads

Written by Dan Mossop

If you're trying to get your Divi site looking the way you want on iPads, you might notice that it doesn't necessarily behave the way you'd expect – in particular that the iPad uses the desktop rather than tablet view. Here's why, and what to do about it.

Using Different Divi Module Settings for Desktop, Tablet and Mobile

First, just in case you haven't seen it, Divi has a responsive editing feature that allows you to configure how most settings appear on desktop, tablet, and mobile devices.

Here's how to use it:

1. Go into the Visual Builder mode.

2. Open the settings for the module you want to customize.

3. Look for the design setting that you want to adjust specifically for, e.g. tablet. When you hover your mouse over the setting, you should see a small round phone icon appear (along with some others)

4. Click this and you'll new see three tabs, corresponding to Desktop, Tablet and Mobile view.

5. Make any adjustments for the each view. All adjustments made in, for example, the tablet mode will change the setting on tablets, but not on desktop / mobile view.

How Divi's Responsive Settings Work on iPads

iPads will often use Divi's desktop mode, rather than tablet mode, styles. Divi's responsive design settings, including the tablet mode, are designed to adapt to different screen sizes, including all versions and orientations of iPads. But this is not determined by the device itself, but by the size of the viewport (i.e., the size of the device's screen).

Here are the general breakpoints Divi uses:

– Desktop: Viewport width greater than 981px

– Tablet: Viewport width between 768px and 980px

– Phone: Viewport width less than 767px

While many iPads in portrait orientation will trigger Divi's tablet styles, quite a few iPads are wide enough in landscape orientation to receive the desktop styles. Furthermore, the iPad Pro is sufficiently large to trigger Divi's desktop layout even in portrait mode.

Styling iPads Differently from Desktop Mode

Unfortunately, the breakpoints are widely used throughout Divi's CSS and not easily changed.

But if you need to target styles to the iPad specifically, it's possible to do so using CSS media queries.

Here is an attempt at targeting all iPads in landscape mode (including iPad Pro):

/* All iPads in landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) {
/* Add your ipad-specific CSS rules here */
}

Here's a general media query that should apply to most iPads in portrait mode:

/* All iPads in portrait mode */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1366px) 
  and (orientation: portrait) {
/* Add your CSS rules here */
}

These rules should cover the majority of iPads currently available, but remember to test them to ensure they work as expected for your designs.

Elevate Your Divi Site with Adaptive Content

Struggling with Divi styles on iPads? Optimize your site’s responsiveness and ensure your content looks perfect on any device with WP Magic CTAs. This AI-powered plugin crafts tailored call-to-actions for each post, enhancing engagement and maximizing conversions smoothly.

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

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

We may earn a commission when you visit links on our website.

Latest Posts

Set Custom CSS IDs for Individual Divi Accordion Items

Assigning unique CSS IDs to specific Divi Accordion items allows for precise control over styling, targeting, and linking within your page content. This ability is particularly useful when you want to apply custom designs or create anchor links to particular accordion...

Enable Swipe Navigation in the Divi Gallery Lightbox

Enabling swipe navigation in the Divi Gallery module's lightbox allows users to seamlessly browse through gallery images by swiping left or right, creating a more interactive and mobile-friendly experience. This functionality can significantly improve user engagement...

Disable Slide-In Animation for Divi Gallery Grid Images

Control how images appear in your Divi Gallery module by toggling the slide-in animation effect for grid layouts. Disabling the slide-in animation allows gallery images to load instantly and appear statically, providing a faster and distraction-free browsing...

Control Image Count Display in Divi Gallery Lightbox

Displaying or hiding the image count in the Divi Gallery module’s lightbox can help customize the user experience, depending on whether you want to give visitors an indication of gallery progress or prefer a cleaner, distraction-free view. The ability to toggle this...

Hide Gallery Image Titles in the Divi Lightbox Overlay

Displaying image titles in the lightbox overlay of the Divi Gallery module can sometimes be distracting or unnecessary, depending on your website’s design and user experience goals. Hiding these titles creates a cleaner and more focused viewing experience for visitors...

Random Posts