How to get rid of the extra space on top of the page in Bootstrap when using a Bootswatch theme?
Simple! Zero out the padding and margin on the body tag. Like so:
body{
padding-top: 0;
margin-top: 0;
}
Published by
Ednalyn C. De Dios
I’ve always been enamored with code and I love data science because of its inherent power to solve real problems. Having grown up in the Philippines, served in the United States Navy, and worked in the nonprofit sector, I am driven to make the world a better place. I have started and participated in numerous campaigns that aim to reduce domestic violence and child abuse in the community.
View all posts by Ednalyn C. De Dios