- Optimizely Web Experimentation
In Optimizely Web Experimentation, you can use the Editor to change the appearance of certain elements on a page your site. For example, maybe you would like to make a headline stand out more by changing the font or adding a border. You can change the styling of an element with CSS by applying CSS tags for size, color, placement, and visibility.
Style a page element with CSS
Go to your experiment or create a new one. Select a variation where you want to make a visual change.
Select a page from the drop-down list to edit it.
Click Create > Element Change to add a new change, or click an element on the page.
Use Inline CSS to modify the selected element. Click to select an element in the Editor. Any CSS code that already exists for that element automatically populates.
Select the element you want to change and type your CSS into the text box.
Preview your changes, then publish them.
CSS properties in Optimizely
You can use any CSS property to apply changes to elements in the Editor. You cannot, however, target pseudo-elements, such as :active, :focus, :hover, or whole classes, as inline CSS does not target these element types.