Relative Content

Tag Archive for javascripthtmlcssdropdown

Need help having multiple drop down buttons

I have a very simple website where I have a picture of my wife and I for the last 19 years that we’ve been together. A picture per month. It loads using lazy load which works great. I added anchor links (is that what they’re called?) so you can skip from year to year from the header. But imagine now I have 19 links up there. Friend of mine told me I should look into dropdown menu. I was able to find an example online and it works. But now it gives me 19 links vertically instead of horizontally. So I thought I would break it down into multiple subcategories. 2020-2024, 2010-2019 and 2005-2009. I got it “working” individually, but as soon as I enable all three, only the last one shows. What am I missing here? Please note I have very little css/js/html experience. I can follow directions well but I don’t know what’s natively in the language that should be obvious to someone with more experience.