Archived topic
Blog/Archive template
3 replies · Started by Radek on March 12, 2021
Hi, is there a way to use Mike Oliver's portfolio template from "Portfolio" at Site library for Blog/Archive template ? I mean 2 columns layout, 1st row 60/40 2nd row 40/60 3rd row 60/40 ... through all loop ? Thanx
Hi there,
might be possible with some CSS - do you have a test site displaying a 2 column blog ? I can then see what we can offer.
I fill site to private section, but there is no blog page at tho moment. I was just wondering if that was possible...
Ok so try this.
First off i have the default GP Blog - set to 2 columns. Do not set Make First Post Featured or Masonry.
Then add this CSS:
@media(min-width: 769px) {
.generate-columns-container .generate-columns.grid-50 {
width: 40%;
}
.generate-columns-container .generate-columns.grid-50:nth-child(4n+0),
.generate-columns-container .generate-columns.grid-50:nth-child(4n+1) {
width: 60%;
}
}
This will set the first post to 60%, then a repeating 40%/60% pattern so the two alternate.