I’ve been making a page for my son and used Bootstrap 4 this time. I am using sctollspy in the navbar and followed the instructions from https://getbootstrap.com/docs/4.0/components/scrollspy/ When you click on a link in the navbar it jumps to the middle of the section, not the top part of that section.
[url=https://ibb.co/hTOE95][img]https://thumb.ibb.co/hTOE95/Capture.png[/img][/url]
html part of navbar and section
[code]</head>
Welcome to Leggacy Soccer
About
My personal goal is to provide an opportunity to everyone who wants to thrive at developing their own skills and abilities.
My name is Alex Leggett and my prior experience includes coaching, refereeing, and playing 15 years (and counting). When I am not playing, I work as a substitute-teacher through the Dover NH School system. Private lessons are available to those interested regardless of age. (Recommended age: 5-16)
this is at the bottom of the html
[/code]
css part
[code]body {
min-height: 75rem;
padding-top: 3.5rem;
position: relative;
font-family: Helvetica,Palatino, sans-serif;
color: #004289;
font-size: 20px;
}
.container {
background-color: #fff;
}
.section1 {
min-height: 100vh;
}
.section2 {
min-height: 100vh;
}
.section3 {
min-height: 100vh;
}
.section4 {
min-height: 100vh;
}
[/code]