DIVI: Media Query Breakpoints

Often we need to adapt our CSS customizations to the different device sizes, and it is very helpful to have the media query breakpoints of the DIVI theme at hand. Artiom from Elegant Themes was revealing this handy list.

CSS: Centering DIVs

Did you ever try to center a block of successive images? Can feel so complicated, but after all with the help of a little CSS trick the centering gets easy to achieve.

Adding a language class to the body

In case we need to add a language class to address some CSS styling to different languages individually, e.g. when using WPML or Polylang, we can add this little piece of code to our functions.php: PHP /* Adding a language class to the body to apply styles...