1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
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. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

How can I list Blog posts in grid style?

Discussion in 'Free Divi Community Forum' started by Grant Senior, Jan 5, 2024.

  1. Grant Senior

    Grant Senior Member

    Hi there, hope I can get some help with this. I'm new to using Divi and not really a regular WordPress user, so some things may not be obvious to me.

    However, my designer wants the blog posts to be listed in a grid pattern of 4 squares across the page and continuing down the page. The Divi builder doesn't seem to be able to do this at all which lead me to discover the AI generated Divi Block tool. I was able to create what I thought was the solution (see the screenshot below) but on loading it into my Divi project I discovered that it only produces the 4 list items, and I want at least 16 items in a grid i.e, 4 rows of 4 post items. How can I get this? Or is it not possible?

    divi-generated-blog-posts-list.jpg




    If it isn't possible to get what I want from the generator tool above, how can I adjust what Divi creates? The following screenshot is what I get using the standard Divi Blog module; it's nearly there but I want 4 across and a square block for each item. I've tried targeting the styles and adding my own overriding css in the Divi css file, but I've not been able to get what I want (in fact I find it very difficult to change anything from the Divi master css file).

    If anybody could help me out here I'd be very grateful!

    Cheers
    Grant

    custom-blog-posts-list.jpg
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring modern overlay archive blog layout with hover effects:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    For the blog layout from Divi Block, you can have more items. Here's what you need to do:

    1. Clone the Row of the blog lists.
    2. For the newly clone row, set the padding top to be 0.
    3. Then last thing to do is to set the blog offset number of the newly clone row. Go to the first Blog module settings & scroll down to Post Offset Number & enter 4. Then move on to the second Blog Module settings & enter Post Offset Number 5 & so on.

    Let me know if you still need any further clarification.
     
  3. Grant Senior

    Grant Senior Member

    Hi there, thanks for taking a look at this, I appreciate it very much!

    I guess that works though I'm not sure it's the dynamic solution I was after, it will mean that posts beyond the page limit of 16 will need to be listed elsewhere; but if that's how it has to be.... it may have to do for now. Cheers!

    Follow on questions with the styling, how do I remove the double white border that is shown in the hover state? I can't find that in the module itself anywhere nor in the custom styles that come with the download.

    custom-blog-posts-list-2-rows.jpg

    Also, if I need to remove the 'No Results Found' message, how do I go about that?

    Thanks again!
    Grant
     
    1. PRO MEMBER PERKS Divi Mini Cart Pro Plugin - Instantly add 3 different types of mini cart to your Divi site:Learn More
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    Replied in your other thread: https://divi.help/threads/where-can-i-adjust-the-blog-post-list-article-item-css.11459/#post-35311
     
  5. Grant Senior

    Grant Senior Member

    1. PRO MEMBER PERKS Divi Block Pro - Premade logo carousel design for your Divi site without using any plugins:View Demo
  6. brucezubaa

    brucezubaa New Member

    thanks for taking a look at this, I appreciate it very much!