Add custom classes to content and sidebar functionality