Reputation: 19
I got this white padding on my homepage https://cyclingland.github.io/home.html and I can't find the issue in my css... If someone can find the issue you're a hero!
Upvotes: 0
Views: 542
Reputation: 2831
You're not being specific here, but if it's the left white "padding" on the main content the #intro
has a margin-left: 20px
property set.
Upvotes: 0
Reputation: 1435
Remove margin-left: 20px
from #intro
.
This is creating the extra white space on the left side of your website.
You also need an additional change. Not sure if intended because your height: 100%
on #intro
is being overridden.
So basically your CSS class in cyclingland.css
should look like -
.intro {
overflow: hidden;
height: 100% !important;
/* margin-left: 20px; */
padding-left: 20px;
}
Upvotes: 2