set CSS class for menuSearch and menuSeparator