DIVI Media Queries

  CSS, DIVI

Capture attention and make a lasting impression with responsive web design on a desktop, tablet or smartphone. You can do this with media queries. Media queries are a type of coding technique that allows webpages to change their look and feel depending on the device they’re being viewed on. With media queries, you can create different designs for desktop computers, laptops, tablets, and smartphones. You can also use media queries to adjust the layout of a webpage in response to changes in screen size or orientation. By using responsive design techniques like media queries, you can create websites that look great no matter what device they’re viewed on. This helps ensure a great user experience and increases the chance of successful conversions.

Responsive web design also allows for different elements to be shown or hidden depending on the size of the screen. You can use media queries to show or hide certain elements such as navigation menus, forms, images, and videos. This ensures that visitors only see the most important content on smaller screens while allowing them to access additional content when they view the website from larger devices.

Using responsive techniques like media queries can also improve your website’s performance in search engine rankings. Search engines now take into account how easy it is for users to find information on a website.

With over 8 billion mobile devices in use, it’s essential to prioritize mobile browsing. Don’t miss out on reaching potential visitors who may never see your site on a desktop. Give your mobile audience the experience they deserve.

These are the main media queries used by DIVI for all devices. They can be used as templates in your custom CSS.

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
 
}
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
}
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
}
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
}
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
}
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
}

Check out this Elegant Themes blog post, How to Identify Divi’s Responsive Breakpoints and Fine Tune Your Designs with Media Queries. It will better explain how DIVI incorporates breakpoints in its theme.