I am attempting to create a full width style page using the Oslo masterpage. I found an similar question on this site and the answer to that one was to add the following piece of code to a custom css.

.contentwrapper {
   margin: 0;

#titleAreaBox {
   margin: auto 0px!important;

I added this and it helped solved the majority of my issues. But I found that I am still getting a small amount of padding on the left/right and bottom sides of the page. I have attached an image to better explain the issue.



  • 1
    I would recommend you update the Image and remove the site URL Aug 26, 2016 at 13:48

1 Answer 1


There is another element with Id contentbox. You need to remove padding from that element

.ms-pub-contentLayout {
    padding: 0px !important;

enter image description here

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.