1. PROMO Get 60% OFF Lifetime Pro Membership & access all our Pro Divi Extensions, Divi Layouts, Divi AI Generator, Divi Block, etc.VIEW PRICING
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color.
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Woo Products displays only 1 column

Discussion in 'Free Divi Community Forum' started by Ardie Marq, Jun 24, 2024.

  1. Ardie Marq

    Ardie Marq New Member

    Hi,

    Please help, I’m making a shop page for my products but its not displaying properly. I set Woo Products to 4 columns but its still showing 1 column. I already tried css display:inline but still not showing 4 columns. Thanks!
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade rolling text design for your Divi site without using any plugins:View Demo
  2. Ardie Marq

    Ardie Marq New Member

    upload_2024-6-24_19-9-56.png
    this is the screenshot of our page
     
  3. Divi Booster

    Divi Booster Divi Expert

    Hey Ardie,

    Try adding this into "WP Admin > Divi > Theme Options > General > Custom CSS" to see if it helps:

    Code:
    div.woocommerce ul.products, body.woocommerce-page ul.products {
        display: block !important;
    }
    If not, are you able to share a link to an example page showing the issue?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo
  4. Ardie Marq

    Ardie Marq New Member

    Hi,

    thanks for the code, i already try that one though. Did not work at all.

    here's the link - https://doctorsstudio.com/shop_themify/

    and i notice this error message all of a sudden
    upload_2024-6-25_18-32-29.png upload_2024-6-25_18-32-29.png
    not sure if this has anything to do with it. Thanks again for the help.
     
  5. Divi Booster

    Divi Booster Divi Expert

    Hey Ardie,

    There is a max width of 12% set on the products module and a few other issues that prevent the products displaying four to a row. I haven't dug into why they are there / where they are being added, but I think you should be able to correct them by adding the following into the module's custom CSS at "Woo Products Settings > Advanced > Custom CSS > Free-Form CSS":

    Code:
    selector {
        width: 100%;
        max-width: 100%;
    }
    selector ul.products {
        display: block !important;
    }
    selector ul.products li {
        max-width: 20%;
        margin: 2%;
        display: inline-block;
    }
    I don't think the PHP errors are related, but if it keeps happening you may want to check in the browser development console for details as the error suggests (in Chrome, do "F12" then select the "Console" tab), or alternatively enable the WordPress debug.log and retrieve the details from there. Feel free to post the error messages here if you don't know what they mean and we'll try to interpret them for you.
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Add more varieties for your Divi header (12 premade styles) + menu hover effects:Learn More