Add style classes to PathBox