Remove top padding WordPress 2015 theme

In the WordPress 2015 theme I am trying to remove the padding at the top of the page so that the whole of my image shows without having to scroll down.

I have ‘borrowed’ css code from other users and now have the left and right margins removed but I’m struggling with the top margin.

Help Please!

Here’s my code for the left and right margins:-

body:before {
max-width: 313px;
}

sidebar {

left: 0;

}

page {

margin-left: 0;

}

@media screen and (min-width: 77.5em) {
.site-content {
margin-left: 23.2%;
width: 76.8%;
}
}

@media screen and (min-width: 59.6875em) {
.sidebar {
max-width: 313px;
}

.site-footer { /* Not pixel perfect */
margin: 0 0 0 25.8%;
width: 71.5%;
}

.hentry, .page-header, .page-content {
margin: 0 3.3333%;
}

.comments-area, .post-navigation {
margin: 8.3333% 3.3333% 0;
}

.entry-content, .entry-summary {
padding: 0 7% 10%;
}

.hentry img {
width: 100%;
padding: 0;
}

.entry-header {
padding: 0 7%;
}

}

Read more here:: Remove top padding WordPress 2015 theme

Leave a Reply

Your email address will not be published. Required fields are marked *