Custom CSS Examples
  • 27 Jul 2020
  • 3 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Custom CSS Examples

  • Dark
    Light
  • PDF

Article summary

The following snippets of code are examples of how to select and modify different elements of your RetentionEngine Cancel Flow.

Depending on your level of expertise, it might be necessary to engage a web developer to accomplish more complex style modifications.


General Cancel Flow Styling

These Header and Bottom Container styles apply to the Exit Survey, Other Reasons, and Pause Options Screens.

Adjust the header font size and font color

Screen Shot 2020-07-13 at 9.51.38 PM

.header-text {
  color: #8500B7;
  font-size: 44px;
}

Adjust the header background color

Screen Shot 2020-07-13 at 9.54.38 PM

.header-background {
  background: #8500B7;
}

Adjust the height of the header background

Screen Shot 2020-07-22 at 11.41.20 AM

.bottom-content-container {
  margin-top: -40px;
}

Adjust the background color and corner radius on the bottom half of the screen.

Screen Shot 2020-07-13 at 9.57.03 PM

.bottom-content-container {
  border-radius: 0px;
  background: #8500B7;
}

Customize Button Styling

Controls the background color, font color, font size, and on-hover color of the response and accept buttons.

This is used to style the buttons on the Exit Survey, Pause Options, and Cancel Confirm Screens.

Screen Shot 2020-07-13 at 10.22.57 PM

For button background, font color, and size:

.response-button, .accept-button {
  background: #EBD1F5;
  color: #8500B7;
  font-size: 22px;
}

For button corner radius:

.response-button, .accept-button {
  border-radius: 0px;
}

For button on-hover color:

.response-button:hover, .accept-button:hover {
  background-color: #8500B7;
}

For button border color and width:

.response-button:hover, .accept-button:hover {
   border: 2px solid #FCE321;
}

You can also adjust the Response and Accept buttons individually:

.accept-button {
  background: #8500B7;
 color: #EBD1F5;
  font-size: 34px;
}

The Accept Button is shown when a Cancel Resolution is shown, on the Confirm Cancel Screen and on the Exit Experience Screen

Customize the Footer Navigation

Adjust the footer background color and link navigation color.

Footer styles apply to the Exit Survey, Other Reason, Cancel Resolution, and Pause Options Screen.

Screen Shot 2020-07-13 at 10.33.04 PM

Adjust the color of the footer navigation background.

.footer-wrapper {
  background: #EBD1F5;
}

Adjust the color of the navigation link.

.footer-nav-button {
  font-size: 45px;
  color: #8500B7;
}

Adjust the color and line stroke of the navigation arrows.

.footer-nav-button i {
  border: solid #8500B7;
  border-width: 0 2px 2px 0;
  padding: 4px;
}

Exit Survey Screen

Customize the Announcement Banner

This is used for styling the Announcement Banner background color, font color, and font size.

Screen Shot 2020-07-13 at 10.36.51 PM

.announcement-banner {
  background: #EBD1F5;
  color: #8500B7;
  font-size: 34px;
}

Change size of Exit Survey buttons.

Change the width and height dimensions of the response buttons.
Screen Shot 2020-07-13 at 10.39.25 PM

.exit-survey-buttons-wrapper .response-button {
  width: 100;
  height: 140px;
}

Adjust size of Company Logo

Screen Shot 2020-07-14 at 11.55.34 AM

.exit-survey-logo {
  height: 500px;
  width: 500px;
  max-width: 500px;
  max-height: 5000px;
}
Heads up!

Make sure you also include the max height and width.

Other Reason Screen

Submit Button Style

Changes the size, background color, and font color of button on this screen.

Screen Shot 2020-07-13 at 10.54.00 PM

.other-reason-button {
  background: #EBD1F5;
  color: #8500B7;
  width: 200px;
  font-size: 22px;
}

Text Area Styling

Changes the background color and font size.

Screen Shot 2020-07-13 at 10.58.54 PM

.other-reason-textarea {
  background: #EBD1F5;
  font-size: 42px;
}

Cancel Resolution Screen

Spotlight Text Styling

Adjusts the spotlight area size, font color, and font size.

Screen Shot 2020-07-13 at 11.01.20 PM

.spotlight-text {
  color: #8500B7;
  font-size: 75px;
  width: 600px;
  height: 220px;
}

Cancel Resolution Text Styling

Adjusts the font color size and color for the Cancel Resolution Title and Description fields.

Screen Shot 2020-07-13 at 11.12.37 PM

.offer-bottom-title {
  font-size: 100px;
  color: #8500B7;
}

.offer-description {
  font-size: 40px;
  color: #8500B7;
}

Spotlight Image Styling

Adjusts the size and shape of the Spotlight Image area.
Screen Shot 2020-07-13 at 11.23.41 PM

.spotlight-image {
  border-radius: 0px;
  width: 300px;
  height: 300px;
}

.spotlight-container {
  border-radius: 200px;
}

Pause Options Screen

Pause Options Title Styling

Adjust the font size and color of the pause options title.

Screen Shot 2020-07-13 at 11.27.17 PM

.pause-bottom-title {
  font-size: 32px;
  color: #8500B7;
}

Adjust the height of the title background.

.pause-bottom-title {
  margin-top: -40px;
}

Pause Disclaimer Text

Adjust the font size and color of the pause options disclaimer text.

Screen Shot 2020-07-13 at 11.29.16 PM

.pause-disclaimer-text {
  font-size: 32px;
  color: #8500B7;
}

Cancel Confirm Screens

Adjust the Title and Description on the final confirmations screens of the cancel flow.

These styles apply to the Cancel Confirm, Customer Save, and Customer Lost Screens at the end of the cancel flow.

Screen Shot 2020-07-13 at 11.43.15 PM

.end-screen-title {
  font-size: 50px;
  color: #8500B7;
}

.end-screen-description {
  font-size: 34px;
  color: #8500B7;
}


Was this article helpful?