Hi, I have a HTML website for bible study.
Now I have Pinegrow, I wanted to make it more responsive, so I created breakpoints and am busy to change the parameters for every breakpoint.
Started at phone size, now I am at 1024. For the smaller sizes I want to change the navbar to hamburger menu, but that is for later.
For now I want to have the navbar working like in this page: https://bijbelopen.org/
I created a kind of test page with some html in it which I use often, with it’s own css (bible_test.css)
This is the link to the test page: Welkom bij Bijbel Open
As you can see the navbar is not the same as in the original site.
I tried to find solutions, but I couldn’t get it right.
I tried also the next css, but didn’t help either.
Anyone here to have a solution?
Much appriciated!
.nav {
float: left;
font-size: 1.1em;
width: 70%;
padding-top: 0px;
margin: 10px;
padding-right: 0px;
padding-bottom: 0px;
}
.nav ul {
padding: 21px 17px 10px 21px;
margin: 1% 1% 1% 1%;
list-style: none; /* Remove bullet points */
display: flex; /* Make list items horizontal */
justify-content: flex-start; /* Align items to the left */
}
.nav li {
margin-top: 0.8%;
margin-right: 20px; /* Add space between menu items */
display: inline-block; /* Make list items horizontal */
}
.nav a {
padding-left: 3%;
padding-right: 3%;
text-decoration: none; /* Optional: removes underline from links */