Theming main menu - function