Twenty Seventeen Theme – Remove title and white space

Bantu saya untuk mengunjungi situs saya di http://www.ovograb.com/

Hi @nevnic

You can remove Site title and white spaces with following CSS :


header.entry-header {
    display: none;
}
div#gallery-1 {
    margin-top: -168px;
}

I hope this will help you.

Regards,
Ruchit

Yes indeed!
That works great. Many thanks.

Would you also know how to remove the spaces between the images in the Gallery so that they all butt together into one long scroll?

To remove white spaces between images please use following CSS:


.gallery-item {
    padding: 0!important;
}

Regards,
Ruchit

Thank you very much, but for some reason that seems to have worked only on the first two images?

Hi @nevnic

The CSS are working absolutely fine, its the background color of images because of which you are feeling CSS has been applied to only first 2 images.

Regards,
Ruchit

Aah OK, understood. I’ll crop the images.

Many thanks for your help.



Source link