I created rendering variants definition which has header, image and button. For the button, I provided CSS class and also uncheck 'Render if empty' checkbox. The issue I am seeing is that if I don't provide value for the button, it still renders. I am using SxA 1.7. Thanks for any help

  • In which mode are you checking this? Check if the behaviour is correct in preview/normal mode. Jul 27, 2018 at 16:42
  • I am checking this in preview mode and in experience editor. Thanks
    – Discovery
    Jul 27, 2018 at 17:45

1 Answer 1


It's working quite fine on 1.7.1. Take a look below:

enter image description here

And just for the record, this is my Rendering Variant for Page Content:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.