greenpeace / planet4-child-theme-australiapacific

Greenpeace Planet 4 Australia Pacific Theme
GNU General Public License v3.0
2 stars 1 forks source link

Remove spacing above footer #59

Closed ashleytowner closed 6 months ago

ashleytowner commented 6 months ago

Pull Request Overview

This adds a negative margin to the top of the footer, so that it overlaps with content, as required in this ticket

Ensure that, on all screen sizes, the footer always overlaps with the content above it

There's a slightly different negative margin for a couple of different screen sizes, these are the minimum numbers I found were necessary.

๐Ÿ“ท Screenshots

image

Of course, this also results in the situation where if there's text at the bottom of a page, then the footer will still overlap it, there's not really an automatic way to distinguish between whether the element beforehand contains something we do or don't want overlapped. Content creators will have to be aware of this when laying out their content, and ensure that they put an image or some content that can be overlapped at the bottom of the page.

image

๐Ÿคจ Any Issues or Questions?

@karabishopgreenpeace do we still want to go ahead with this given it can overlap real content?

๐Ÿ PR Checklist

Reviewer checklist:

Contributor checklist:

ashleytowner commented 6 months ago

I'd like a technical review from @techieshark, but I don't want to merge this before @karabishopgreenpeace has agreed that this is the behaviour we want.

karabishopgreenpeace commented 6 months ago

@ashleytowner hold off on this. The solution needs to have a general padding on all pages so the content is visible. Then a negative margin on specific pages that need to overlap. At the moment there is a .footer-cta class added to these specific blocks. Sorry, I don't have time at the moment to work on this, so for the time being, I think we just leave it as is.

ashleytowner commented 6 months ago

Closed, as it didn't meet the requirements