Centre Submenus

Im not the best coder of any sort i was wondering if there was a way to centre just the sub menus of the skin and not centre all menus ?

im not great at reading code either so maybe a nice reply im noob