Divi allows us to create truly unique website and pretty decent blog pages but some stuff you can’t use the page builder on like category pages and the archive, the reason that this is a problem is because it leaves your website looking inconsistent, which is not very professional so today I’m going to show you how to makes these pages have the grid blog style.
First you thing you will need to decide is if you want these pages to be fullwidth or if you would like a sidebar on these pages, if you want a sidebar you can scroll down to column section.
next we are going to remove the sidebar line from our pages.
Making content area full width:
Now that we’ve removed the sidebar there is a massive space where the sidebar used to be, we will need to extend our content area into that space.
3 Column layout (fullwidth):
2 Column layout (sidebar):
If you chose to keep your sidebar you will only need the following code make your post display as a grid on those pages.
Next we will need to make sure our grid stay responsive on mobile devices, I’m going to make both 3 and 2 columns become 2 columns on tablets and 1 one column on mobile phones.
If you want it on just a category or archive page, you will just need to remove either .archive, .category or .blog to every CSS item we have added, personally, I think it best to apply the style to all blog pages.
For demo purposes, I’ve made my archive page have a sidebar and my blog page to not have a sidebar so that you can see what the two layouts will look like.