0

I am trying to get the masonry plugin working with a tumblr theme. I need it to have 4 columns but for some reason it is only displaying 2.

http://penguinenglishlibrary.tumblr.com/

Can anyone help please?

I would create a jsfiddle but time is really against me.

4

1 回答 1

1

容器的宽度为 940px。您的每个书籍元素都是 235+10=245px 宽。245X4 = 980 像素。

由于边距,容器不够宽。

令我惊讶的是,它不是每行放 3 本书。不过,我不知道 Masonry API 或您的设置,以猜测它为什么会这样。

于 2012-04-11T18:30:07.057 回答