Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种在使用流行的工具箱主题时在 Wordpress 帖子之间添加空间的方法。
如果有人能告诉我那个“margin-bottom”标签也放在哪里,我会很高兴的!非常感谢!
.post是class应用于整个帖子,并且它不包含在您主题的默认样式表中,因此您必须添加它。
.post
class
在这个文件中:
/wp-content/themes/toolbox/style.css
在“内容”部分下,添加此类和样式:
.post { margin-bottom: 80px; /* <--- whatever you need */ }
80px是任意的...使用您想要的任何大小/单位。
80px