Unable to add a background image to my landing page
How can I upload a background image and test with optimizely.
There doesn't seem to be a functionality to add an image.
One solution would be to upload the image to your server, or if you've not got access to your server, you could upload the image to a free image-hosting site like Imgur.
Next, you can add the following to your variation code section (change the selector and attribute value accordingly):
$('yourOjbect').css('background-image', 'url(' + yourImageUrl + ')');
We're trying to use the Edit Style <div> tool by adding a background image to our variation (testing background color vs background image). We're entering the Background Image URL, but it's not saving. Any thoughts?
Find out what the class or ID is for the element you're trying to set a background for, and in your variation code you can make the mod similar to the code I pasted in my reply above. Otherwise, attach the code here and I can look at it for you.