Modify layout affected by class post