最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

responsive - Trouble with responsivitizing my twentythirteen header

programmeradmin1浏览0评论

I'm using the twentythirteen theme and trying to get the header to adapt to screen resolution.

I've uploaded several image files with the required resolutions, and changed my custom-header.php source code according to what is suggested here.

The website, www.ensemblepourviroflay/wp/ (can't link more than twice with newbie account), does not seem to be displaying any of the images, at whichever resolution. I have pasted the content of my custom-header.php file here.

I would appreciate it if a kind stranger would have a look.

I'm using the twentythirteen theme and trying to get the header to adapt to screen resolution.

I've uploaded several image files with the required resolutions, and changed my custom-header.php source code according to what is suggested here.

The website, www.ensemblepourviroflay/wp/ (can't link more than twice with newbie account), does not seem to be displaying any of the images, at whichever resolution. I have pasted the content of my custom-header.php file here.

I would appreciate it if a kind stranger would have a look.

Share Improve this question asked Nov 4, 2013 at 13:49 MonsieurPoivronMonsieurPoivron 1113 bronze badges 1
  • 2 Please edit your question to include all relevant code, in the question. – Chip Bennett Commented Nov 4, 2013 at 14:17
Add a comment  | 

1 Answer 1

Reset to default 0

I think the paths to your images specified in custom-header.php aren't correct. You can use home_url() to specify this path if necessary, eg

发布评论

评论列表(0)

  1. 暂无评论