你可以将
header Section
移到body entry-content
下方,但如果你只想用CSS来做(这不是一个好主意),但可以这样做:
仅更改这些样式
.collection-type-blog article header
{
width: 100%;
text-align: center;
position: absolute;
bottom: 37px;
}
.collection-type-blog article .post
{
top: -63px;
position: relative;
}
.collection-type-blog article .article-meta
{
top: 63px;
position: relative;
}
是的,您可以交换 header 和 body 条目内容 div 类。您可以通过另一种方式通过交换两者的 css 属性来完成此操作,而不是更改总内容。
如何交换标题和正文条目接触 div 类。 Squarespace 自动设置页面,标题位于图片上方...不确定我是否有权访问该代码来切换它...