简体   繁体   English

标头图片未在Blogger模板上居中并对齐

[英]Header image not centered and aligned on Blogger template

What I'm trying to do is have the header image (white banner with Soliya Network blog written on it) to perfectly align with the body of the design. 我正在尝试做的是使标题图像(上面写有Soliya Network博客的白色横幅)与设计主体完全对齐。 At the moment, the right-side is aligned but the left side always comes short. 此刻,右侧对齐,但左侧总是不足。 The banner size is 1050 x 120 pixels but the html coding looks like it is resizing to a percentage of it's actual size only. 标语的尺寸为1050 x 120像素,但html编码看起来像是将其大小调整为仅实际尺寸的百分比。

Here's a link to template of the blog: https://dl.dropboxusercontent.com/u/19701820/SoliyaBlog.xml Here is the link for what the blog looks like now: http://soliyanetwork.blogspot.com/ncr 这是博客模板的链接: https : //dl.dropboxusercontent.com/u/19701820/SoliyaBlog.xml这是博客现在的外观的链接: http : //soliyanetwork.blogspot.com/ncr

On your id: header-wrapper 在您的id上: header-wrapper

Can be found in your css labeled: #header-wrapper 可以在标记为#header-wrapper的 CSS中找到

You need to change it to: padding: 10px 0px ; 您需要将其更改为: padding:10px 0px ; from padding: 10px; 来自padding:10px; to set it back to default. 将其设置回默认值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM