8 Theme

This chapter contains OGL Theme knowledge articles.

Can I remove the "Powered by" footer?

Yes.

Paying customers can completely white-label the Guided Learning layer.

In order to do that you need to download the Design Kit.

In the design kit you can use the following CSS rule to hide the 'Powered by' footer.

div.sttip .guide-footer {
    display: none;
}

How to Change the Help Icon

The help icon is part of the Guided Learning theme.

Paying customers can download and configure their theme by downloading the design kit.

To change the background color of the icon:

div.ir-marker {
    background-color: #12bc8d;
}

To change the ? to another letter:

Add the following CSS rule to the design kit (if it doesn't already exist).

div.ir-marker:after { 
    content: 'i';
}

To change it to your own custom image:

div.ir-marker:after {
 content: none;
}

div.ir-marker {
background:
 url(data:[your image goes here])
 no-repeat
 left center;
}

You can use the following service to get the Data URI of your image - https://dopiaza.org/tools/datauri/index.php

Is it possible to make the overlay a little lighter?

Yes, download the design kit and edit as desired.

NA Tenancy - https://guidedlearning.oracle.com/account/theme/

EMEA Tenancy - https://guidedlearning-emea.oracle.com/account/theme/

To Access the Design Kit from the OGL Console:

  1. Select the Content 1 tab from the OGL Console
  2. Select Theme 2 from the left panel
    selecting content then theme

  3. Select the link to Download the Design Kit 3
    selecting the link

We offer multiple themes to our users. Is there any way to change the OGL theme based on user or, even better, to update individual styles on the fly?

Oracle Guided Learning themes are 100% CSS, so if you dynamically add CSS rules on the fly in such a way that they will 'win' over the default rules in your theme, you can easily change the look and feel at run time.

Enabling Multiple Styles in the same Guide

When there is a requirement to have different formatting for tips or help icons within the same guide (or even the same step), you will need to update the theme. An example of this would be having Smart Tip icons for policy documentation be one color, the associated tip a different style, and Smart Tip icons for how to use the tool in the default style.

To enable multiple styles:

  1. Download the Design Kit and open the html doc in your preferred text editor

    • Best Practice: Search for "ir-marker" then organize your code in an orderly fashion
    • It will help to have your custom code entered in proximity to the default code
  2. The following code will result in the help icon containing an "i" when the POLICY class is active:
    div.<your_class_name >.ir-marker:after {
    content:'i';
    }

    so, for a class called "POLICY"...

    /*This is the text for the POLICY Smart Tip*/
    div.POLICY.ir-marker:after {
    content:'i';
    }
  3. The following code will result in the help icon having a green background when the POLICY class is active:
    div.<your_class_name >.ir-marker{
    background-color: deeppink; 
    }

    so, for a class called "POLICY"...

    div.POLICY.ir-marker {
    background-color: green;
    }
  4. The following code will result in the Next and Done buttons being green when the POLICY class is active:
    div.sttip div.tooltip.<your_class_name> div.stFooter [data-iridize-role="nextBt"] {
    background-color: darkorchid; 
    }

    so, for a class called "POLICY"...

    div.sttip div.tooltip.POLICY div.stFooter [data-iridize-role="nextBt"] {
    background-color: green; 
    }
  5. The following code will result in the back button being grey when the POLICY class is active:
    div.sttip div.tooltip.<your_class_name> div.stFooter [data-iridize-role="prevBt"] {
    background-color:grey
    }

    so, for a class called "POLICY"...

    div.sttip div.tooltip.POLICY div.stFooter [data-iridize-role="prevBt"] {
    background-color:grey
    }
  6. Save the edited HTML file. The above code will result in changes to the tip footer appearance outside the Next and Back buttons when the POLICY class is active.
  7. Open Settings for the appId and select Themes
  8. Scroll to bottom of Setup Theme configuration page and select Upload Theme.
  9. Select Choose File button to select your edited HTML file then configure dialogue window as shown below then select Upload
    selecting file then upload

  10. In a new guide or existing guide, create a simple tip pointing to an element on the screen and enable the help icon without "show tip on hover-over" enabled
  11. In the same step, create another tip just as above (point to a different element on the screen), but enter "POLICY" in the class field as shown below
    entering custom class name in display settings

  12. Save the guide and launch the application
  13. The step created above should look something like this
    finished example