I’m looking to achieve the sort of sticky border you get from the default TwentySixteen WordPress theme where the border sticks on the edges of the browser, rather than the boundaries of the website containers.
I’ve dug around for possible solutions but haven’t managed to stumble across anything that came close. Forgive me if I’ve missed it.
I did try that but it doesn’t replicate the ‘sticky’ effect that you would find on WordPress’ TwentySixteen theme. Have a look if you haven’t already.
The CSS I pasted is pretty close but something’s breaking the border on certain parts of the site, I can’t seem to figure the culprit. For example the top border only appears when scrolling down on a page that has enough content to be able to scroll. The other break is the left and right borders on footer area. I don’t think z-index would fix this?