Rich-text Reply

Removing a static hero image

travis 11-18-16

Removing a static hero image

I'd like to test hero image vs no hero image. Our current site includes a hero image.

 

How do you remove the hero image in Optimizely for the test?

Level 1

robertchan 11-18-16
 

Re: Removing a static hero image

Right click on the image and click remove if you prefer doing this in the WYSIWYG. Otherwise, you can grab your element by its selector (e.g. #someId) and remove it using jQuery in your variation code like so: $('#someId').remove()

The latter will likely be more clean. Feel free to share your page if you'd like someone here to check it out for you.
Robert Chan

Experimentation Hero