1. HOT Be a Pro member & access all our premium Divi extensions, including Divi Block, popular Divi Ultimate Header Plugin, etc.LEARN MORE
Dismiss Notice
NEW Divi Login Customizer Plugin - Instantly get a beautifully crafted login page design for Divi site.
View premade login page design
BEST Divi Block - An online drag & drop tool to easily mix & match 417+ premade blocks (light / dark version), including custom header, fullscreen / slide in mobile menu, mega menu, custom footer, page design blocks, before / after image slider, promo bar, floating button, logo carousel, content toggle, slide in bar, etc.
Learn MoreTry 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:
    @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 Ever wanted to add table for your Divi sites? Check out this table module:Learn More