如何使用自定义 CSS 更改页眉和 page/where 页面开始顶部之间的距离?

How to use custom CSS to change the distance between the header and top of the page/where the page starts?

如何在网站 www.izzofit.com 上使用自定义 CSS 来更改 header/nav 开头和页面顶部之间的 distance/padding作为底部,在页眉和页面开始的位置之间?

此外,如果我可以更改 text/gallery 在页面上的起始位置和页面开头之间的填充,那就太好了。

#container-content {
    padding: 0px 20px 75px
}

#navigator header#topBar ul#nav {
    padding: 20px 0 0px 0;
    margin: 0 0 0 25px;
}

谢谢,

贾里德

无论你的填充设置在哪里,设置它或你想要的 例如: Padding-top:0; 如果您尚未声明填充,请将其设置为 0。 您可以根据需要对每一面进行此操作。

在您的 CSS

中找到 #nav

目前它包含一个 padding-top 的 35px。

调整这条规则:

#nav { padding: 35px 0 25px 0; }