I’m assuming you are trying to use the Poppins google font? If so, you need to select the variations you want and then include the link code it gives you in the head of your page.
You need to remove display: flex from the body selector to get the project grid to wrap.
Not sure what you are asking here.
Not sure what you mean.
BTW, you should use min-height for your sections. Otherwise, the content will just overflow when everything is stacked vertically and they need more space.
@mirandabecodes One suggestion that might help is that you try a “narrow-first” (or what some people call a “mobile-first”) approach to styling your page. Narrow your browser in as far as it will go and style the page so it looks good at that narrow width. There should be no overlapping of elements and no horizontal scroll bar. You won’t need to do a lot of fancy styling here because your block level elements will automatically stack on top of each other, creating a nice single column layout. This narrow styling will be your default CSS.
Then after you have the narrow page looking good you can widen your browser and make any adjustments you want using media queries and such. You may find that you have to add additional divs and such to help with the wider styling. Just make sure to always go back to ensure you didn’t mess up your narrow styling.
The content takes up more space when stacked than what 100vh computes to. The section must be able to grow taller to fit the content when it is stacked.
You are positioning the elements using large margins. Use flexbox to position the elements.
Example code
header {
background-color: #8D7BBB;
border-bottom: 8px solid #C6EBBE;
display: flex;
min-height: 60px;
font-family: poppins, Geneva, Sans-Serif;
font-size: 20px;
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
/* removed */
/* padding-left: 110px; */
/* align to the end/right */
justify-content: flex-end;
}
nav > ul {
display: flex;
/* center for the wrapping */
justify-content: center;
/* Wrapping is good defensive CSS but you can always
* manually change the direction to a column in a media query
*/
flex-wrap: wrap;
/* use gap for spacing */
gap: 6rem;
/* removed */
/* width: 30vw; */
/* margin-left: 1100px; */
}
Awesome! Thank you so much. I really need to spend more time playing around and getting to know flexbox more.
To my eyes, it looks like the only thing that isn’t working properly now is that when I click down the page and then use the welcome link, it doesn’t go all the way to the top of the page, it’s only going mid way. I tried adding scroll-padding-top and it helped, but not fully.