How to add CSS to a Web Personalization Campaign?

You can add CSS into the HTML of the Web Personalization Campaign editor.

In the Web Campaign edit page, click on HTML < > icon and add the CSS in the HTML part.

EXAMPLE:

<div style="text-align: center;">

<style><!--

h2.one{color : blue;}

--></style>

<h2 class="one">This is my text</h2>

</div>

In addition, if the CSS of the website is placed after the CSS of the Web Personalization Javascript Tag in the code, then the website's CSS will override this, and then you can customize according to the site branding, styles etc... and not use Web Personalization's CSS and styles.

Labels (1)