1 reply [Last post]
Gekko Thunder
Gekko Thunder's picture
Offline
newbie
Last seen: 1 week 3 days ago
Joined: 2019-02-07
Posts: 1
Points: 2

Hello,

I would like to style a post feed module (Divi theme) so that the first column is 50% width and the rest of the 7 are 25%, creating a grid like this https://www.screencast.com/t/GNJODhIG3

I have this CSS grid code so far, but I can’t find a way of editing it to get the desired layout.

.ds-grid-blog .et_pb_ajax_pagination_container {
display: grid;
grid-template-columns: repeat(5, 18%);
grid-column-gap: 2.5%;}

Is there some code I could add like “column-one, row-one: 50%;”

Any help would be much apreciated,,, thanks.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 day 8 hours ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9723
Points: 3802

Sharing my ignorance

I have not had any need for a grid layout display, so I'm depending on a quick scan of the rules.

It appears there is a property "span" that acts similar to the span attribute in table structures, i.e. you combine two or more grid boxes to make one larger box.

I leave you to read the specs.

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.