Copy link to clipboard
Copied
I am trying to make one of the categories a dropdown. The navbar already includes one dropdown. I understand the code enough to copy and paste the code, but I am getting an error message. Apparently the coding only wants me to have one menu item as a dropdown. My site is large enough that I need more than one. Please advise if this can be done.
I changed the label in the html code from navbarDropdown1 to navbarDropdown2, for the second drop down item I created. That eliminated any html errors and looks good, so far.
Copy link to clipboard
Copied
I changed the label in the html code from navbarDropdown1 to navbarDropdown2, for the second drop down item I created. That eliminated any html errors and looks good, so far.
Copy link to clipboard
Copied
That's right. Unlike re-usable classes which can be used many times, IDs are unique identifiers which cannot be duplicated on the same document.
Glad you got it sorted. 🙂
Copy link to clipboard
Copied
I'm also trying to learn CSS grid and flexbox. Not easy!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now