-1

I want to make ordering as on my photo. I maded blog page with elementor and need to change with css grid template column.

Code is:

   .elementor-grid-2 .elementor-grid {
    grid-template-columns: repeat(1,1fr);
}

enter image description here

I want to make first appear 2 on 1 like photo :) Any help will be appreciated!

1 Answers1

1

I guess this code will help you.

 .parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    }
    
.div1 { grid-area: 1 / 1 / 2 / 7; }
.div2 { grid-area: 2 / 1 / 3 / 2; }
.div3 { grid-area: 2 / 2 / 3 / 3; }
.div4 { grid-area: 3 / 1 / 4 / 3; }

There are some CSS grid generators that can help you with structure, like this one: https://grid.layoutit.com/

Bob
  • 59
  • 8