Advanced Course

CSS for Divi

Adjusting Last Menu Item Dropdown Position

See the Pen Adjusting Last Menu Item Dropdown Position by John Wooten (@johnwooten) on CodePen.

Resources

Instructor Notes

If you have multiple first-level dropdowns in your menu, you’ll want to give the parent menu a class to focus just on that dropdown.

Here’s how to add a class to the parent menu item

If you use a class to focus on just the last menu item, your code would be:

See the Pen Adjusting Last Menu Item Dropdown Position - Multiple Dropdowns by John Wooten (@johnwooten) on CodePen.