Olav Vanderlay
asked 10 years ago

Is there a way to change the default homepage (when not using the special social homepage) from showing 4 posts per line to 3 posts?

I have been looking around the code but can’t find the code to edit.

3 Answers
Kido D
answered 10 years ago

Hi there,
To show 3 posts per row instead of 4 when using default homepage, you can go to Dashboard / Appearances / Customize / Custom Code, and add the code below to Header Code section:

  <style>
@media (min-width: 769px) {
.block {width: 33%!important;}
}
</style>

Hope this helps!

Olav Vanderlay
answered 10 years ago

It did, thank you very much. I noticed the thumnails became larger because of expansion to the regular 4 posts per row length. Is there a way to change the width of this box so that the thumbs are not so huge?

Kido D
answered 10 years ago

Hi,
To resolve this issue, you can change the code above to the following code:

  <style>
@media (min-width: 769px) {
.block {width: 33%!important;}
}
@media (min-width: 1200px) {
.home #main,.category #main {width: 900px;}
}
.block.head .block-inner {padding: 30px 10px 30px 30px!important}
</style>

Hope this helps!

Powered by DW Question & Answer Pro