Skip to content

Instantly share code, notes, and snippets.

@divienginesupport
Created November 23, 2022 06:37
Show Gist options
  • Save divienginesupport/6cd05d417949153e069fe15a63a2b379 to your computer and use it in GitHub Desktop.
Save divienginesupport/6cd05d417949153e069fe15a63a2b379 to your computer and use it in GitHub Desktop.
Divi Machine Classifieds - Stop Divi column rows from stacking on mobile
/*
************************************************************************************************************
You can add this CSS directly on the module in Module > Advanced > Custom CSS > Main Element or
in the Divi Theme Options.
It is always best to add any CSS directly to your child theme or in the Divi Theme Options > Custom CSS area,
especially for loops layouts because we don't want the same CSS to load over and over on the same page.
If you add the CSS to Theme Options, make sure to assign a class to the module under Module > Advanced >
CSS ID & Classes and then preceed the CSS below with that Class Name.
************************************************************************************************************
*/
/* Add this line of code directly in the Row at Row Settings > Advanced > Custom CSS > Main Element */
display: flex;
/* Add this line of code directly in the Row Column at Column Settings > Advanced > Custom CSS > Main Element */
width: 50%!important;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment