Ensure hide css is applied if either ready or a template is specified.