I am trying to edit the Oslo masterpage so that it is full screen and full width.

I have managed to get the full width element working but now I am stuck with the height of the page. I have attached an image to better show my issue but it appears that I am getting about 50px of padding at the bottom and top of the page. Can anyone please help?

enter image description here

1 Answer 1


Set the padding-bottom style property for the s4-bodyContainer div


If it gets overridden due to any other style apply !important to the set value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.