Bug #25039
closedHeader Image not displaying
0%
Description
Hi All,
A user writes: "header image doesn't show. I've tried several different images, including the suggested one but the links keep breaking"
They are working on this site using the Sydney theme: https://cetllqc.commons.gc.cuny.edu/
Not sure what they mean that the "link keeps breaking" but I was also unable to get a header image to work on the site. Perhaps this is an S3 issue?
Thanks in advance for looking into this!
Updated by Boone Gorges 2 days ago
- Category name set to WordPress Themes
- Status changed from New to Resolved
- Target version set to 2.7.4
This is essentially the same issue as what we saw in #21929. In that case, the Ashe theme pulls a value from get_header_image() and then uses a WP markup-escaping function when building inline CSS. The same thing is happening here with the Sydney theme. The fix is slightly simpler here because Sydney nicely provides an override mechanism for the sydney_header_style function: https://github.com/cuny-academic-commons/cac/commit/82cec187a46925c7bd7f2473c426a3fa1c2880ef
This is deployed to the production site.