Hello, I’m currently working on a product landing page, and I’m having some trouble with the navigation bar.
I got the bar to look how I want it to, but I feel like the way I did it is going to cause errors. I was having trouble getting the logo and nav items on the same line. I finally got it but I had to use negative margins to get it correct.
That would be under the ul selector in my css. If anyone could help explain how I could achieve this properly that would be greatly appreciated.
I’m not sure if this is connected, but I also noticed there is a small amount of white space along the right side of the page where my main content goes. Any idea why?
Hey there. Would you say that this is a more simple way to create a nav bar that would cause less future problems?
I used the suggestions you offered, which made me able to more easily control the margins.
Is there anything else you would suggest or code you might change? Feel free to pick it apart.
I didn’t look at every detail but the CSS looks much better and cleaner!
Nice effect with the moving lines in the navigation.
Maybe one thing: The logo size is 60% which is ok for desktop view but in smartphone view it’s getting very small. Probably you can size it (in smartphone-view with media-queries) with absolut values (px or rem). Maybe you had to make the navigation font a little smaller if there is not enough space.