Is there a way to change the child generated by WordPress itself to a custom class name?
I know the parent
I would suggest to replace your cutomclass css class name to sub-menu. use find and replace: ie. find: .customclass replace with .sub-menu, works for me.