css changes and clearing content after publish