The nodes you added shouldn’t be the cause of that, if it’s the transparency they would also be invisible in object mode. The materials settings for transparency change depending if you are using Cycles or Eevee. Maybe share some more context of your problem. I you remove the material does everything go back to normal?