Hey there, Developer Community! I recently delved into programming a few days back and decided to create a homepage for an artist.
The page features a responsive menu that switches to a dropdown menu with a button when the screen size shrinks. It also includes a scrolling effect. However, upon adding a carousel (image slider), the menu bar goes haywire. To better illustrate the problems, I have attached some screenshots:
Issue 1
https://i.sstatic.net/MxDHW.png
The menu bar seems misaligned towards the right side instead of filling out the top of the screen.
Issue 2
https://i.sstatic.net/p2MdV.png
When the screen is resized to a smaller dimension, the bar shifts downwards. I'm hopeful that someone can assist me in resolving this issue. Here's the code snippet:
/* CSS Code */
html, body {
margin: 0;
padding: 0;
width: 100%;
}
body {
font-family: "Helvetica Neue",sans-serif;
font-weight: lighter;
}
/* More CSS styles here */
Image Slider:
Much gratitude in advance!
Warm regards, Eddy.