1. HOT Add more varieties for your Divi header (12 premade styles): https://header.diviultimate.com/
NEW Divi Block - Online drag & drop tool to easily mix & match 320+ premade Divi blocks (light / dark version), including custom header, fullscreen / slide in mobile menu, footer, etc. We also added NEW special module designs, such as Before & After Image Slider, Masonry Gallery, Promo Bar, Logo Carousel, etc.Try Free Version

How to make Divi portfolio grid to be 2 columns on desktop?

Discussion in 'Divi Tutorials' started by Divi.Help, Jun 5, 2021.

  1. Divi.Help

    Divi.Help Administrator
    Staff Member

    To achieve that, try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    @media only screen and (min-width: 480px) {
        .et_pb_portfolio_item {
            width: 47.25%!important;
            margin-right: 5.5%!important;
            margin-bottom: 5%!important;
        }
        .et_pb_portfolio_item:nth-child(2n) {
            margin-right: 0!important;
        }
    }
     
    1. AD Tons of premade layout & section designs + functionalities for your Divi site:Learn More