[英]Replacing static header image on my blogger template
I've uploaded the Blogger theme 'Scratch-green' (free version) - does anybody know how I can replace the default header image to one of my own. 我已经上传了Blogger主题“从头开始-绿色”(免费版本)-是否有人知道如何将默认标题图片替换为我自己的图片。 The theme links to this template and I just want to replace the header image to my own.
主题链接到此模板 ,我只想将标题图像替换为自己的标题图像。 Have tried altering various parts of the html and other suggestions found on Google but nothing seems to work!!!
曾尝试更改html的各个部分以及在Google上发现的其他建议,但似乎无济于事!!!
If I understood your question correctly, you have to replace the src
to your own image source location. 如果我正确理解了您的问题,则必须将
src
替换为您自己的图像源位置。
From the image you provided, the current src
is: 根据您提供的图像,当前
src
为:
<img alt="Harmony Clean Flat reaponsive. . . "
class="logo-black"
src="http://4.bp.blogspot.com/...." />
Change the src
to the location of your image and change the alt
to an alternative text to show in case the image resource is not found: 将
src
更改为图像的位置,并将alt
更改为替代文本以在未找到图像资源的情况下显示:
<img alt="a_description_of_your_image_header_or_website"
class="logo-black"
src="http://the_url_to_your_image" />
Hopefully this helps, good luck! 希望这会有所帮助,祝你好运!
could not load template preview: error parsing xml.
无法加载模板预览:解析xml时出错。
Seems like your webpage is being treated like xml
. 好像您的网页被当作
xml
对待。
content-type="text/html"
explicitly content-type="text/html"
url
s to external resources (in this case your header image), if your src
contains special characters you have to write them a different way: url
时(在本例中为标题图像),如果src
包含特殊字符,则必须以其他方式编写它们: eg: 例如:
&
&
>
>
SO if your url looks something like: 所以,如果您的网址看起来像这样:
src="http://example.header&logo-image.jpg"
replace it like this: 像这样替换它:
src="http://example.header&logo-image.jpg"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.