$("#topMenu > li").addClass("nav-item py-2 py-xl-2 px-0 px-xl-2 px-xxl-3"); $("#topMenu li:has(ul)").addClass(" dropdown-item-blog dropdown"); $("#topMenu li:has(ul)").find("a:first").addClass('nav-link dropdown-toggle p-0').append("<span class='caret'></span>"); $("#topMenu li:has(ul) ul").addClass('dropdown-menu pt-3 pb-0 pb-xl-3 x-animated x-fadeInUp'); $("#topMenu li ul li").addClass('dropdown-item'); $("#topMenu").css({"opacity":1});
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter