Snippets: Center Header Menu Dropdown & Pointer (Caret)

#site-navigation .sf-menu ul.sub-menu {
    width: 140px;
    left: 50%;
    margin-left: -70px;
}
#site-navigation-wrap.wpex-dropdowns-caret .dropdown-menu ul.sub-menu::before {
    left: 50%;
    margin-left: -7px;
}
#site-navigation-wrap.wpex-dropdowns-caret .dropdown-menu ul.sub-menu::after {
    left: 50%;
    margin-left: -6px;
}

Snippet Type: PHP

Posted Under: Header

All PHP snippets should be added via a child theme's functions.php file.