Poor CSS / HTML element naming on user profile page

If a profile background image is set, it is incorrectly shown above the profile details on user profile page. This behavior was introduced in

where the background image was moved to its own div. I think this was an unexpected side effect, but if it is intentional, you might want to rename it a profile header image or something in the user profile settings.

2 Likes

Can you provide a screenshot of this problem please?

Here you go:

@awesomerobot did you want to confirm this?

Sure we can rename it to header instead of background. The overlay effect we used previously made profiles slightly harder to read and the overlay was dark to the point where most of the image was obstructed anyway (if you’re wondering why the change happened).

7 Likes

Renamed to header here (commit message has it backwards :man_facepalming:)

https://github.com/discourse/discourse/commit/4434f419c6d02d5797e4d99dd961aa7e87851bac

7 Likes