use @if @else rather than output and overide as it doubles up css