Open ru-song opened 5 years ago
@ppoffice Hi, I mean the background on the top(black part under hueman logo), now It's black, can I change it with my own pic?
@ppoffice ya, I find it before, but I dont know how to modify, could you please give an example , like background: /XX/XX/XX.png
In the \blog\themes\landscape\source\css\_variables.styl
file, you can changebanner-url = "images/yourimage.jpg"
.
Reference: http://blogpengyin.herokuapp.com/How-to-Change-Banner-in-Hexo/
In the
\blog\themes\landscape\source\css\_variables.styl
file, you can changebanner-url = "images/yourimage.jpg"
. Reference: http://blogpengyin.herokuapp.com/How-to-Change-Banner-in-Hexo/
I tried but got no keywords like BANNER:(
You can also simply change the E:\study\program\blog\themes\landscape\source\css\images\banner.jpg
as you wish, but with the same name banner.jpg
I found that the theme's header bg is a pure color, so there has no banner.jpg
or something like that. I can change the bg color but can't change it to a picture I prefer.
I found that the theme's header bg is a pure color, so there has no
banner.jpg
or something like that. I can change the bg color but can't change it to a picture I prefer.
Problems solved yet~ I follow the way that landscape theme
did, I add a banner pic
in the .../css/images
and add a linebanner-url = "images/banner.png"
in the_variables``//Header
line, and change theheader.styl
file's first line frombackground: color
intobackground: url(banner-url)
P.S. pay attention to the pic's pixels, which should be set in a great way.
Hi, I like this theme, and I try to use it. I have try to solve these for many times, but it didnt work, could you please teach me how to modify it?
Thanks!