Hi,
I need help with removing this empty space:
It’s not padding, so I can’t decrease it.
Kindly help.
Regards
Hi,
I need help with removing this empty space:
It’s not padding, so I can’t decrease it.
Kindly help.
Regards
The layout uses CSS grid (here’s a good guide if you’re unfamiliar: A Complete Guide to Grid | CSS-Tricks - CSS-Tricks). The current width value for that column is auto
I think this should get you started, 1fr
means that the right column will occupy any space not used by the first column:
.container.posts {
grid-template-columns: auto 1fr; // old value was "auto auto"
}
That worked like a charm. Thanks for it and the awesome explanation
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.