Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
#1 – Sidebar
I’m pretty sure either solution to that problem will break your responsive layout. Is it that much of an issue?
How are you making the CSS changes at the moment?
Yes, I need the background color for the whole sidebar, it’s what the client wants.
I’m sure other responsive layouts have backgrounds colors and have achieved what I need to do…
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Assigning a background colour is not the issue here.
When an element is floated, it loses its ability to have a height of 100% of its containing element. To get around it, you either and instead use margins or relative/absolute positioning to position your element.
Does your client only want the site to work on mobile and desktop? If not, at which browser widths?