Your instance comes with default functionality and ready-to-use design elements. Are you looking to enhance its aesthetics, either subtly or dramatically to fit your use case? Explore our platform's section for integrating your own custom code!
Use Case Information
Perhaps you would like to tailor your platform's visual identity to match your brand guidelines and the default branding options aren't enough. By implementing custom CSS, you can adjust colors, fonts, and layout elements to create a cohesive and professional appearance that aligns with your company's branding, beyond what Thought Industries provides by default.
Warning
Please use Custom Code at your own discretion. Thought Industries does not support or troubleshoot external code.
If you need CSS Assistance
If you do not have a design resource on staff and would like to scope a design package from our Professional Services team, please contact your Account Team.
How to Add CSS
- From your homepage, select Site > Site Builder.
- In your left menu, select Custom Code.
- Here is where, line by line, you can add your external custom code.
- Select the eye icon to preview changes you are making to your site design.
- In the upper right of the page, click Publish when you're ready for your edits to go live.
Tip
There is no maximum limit on the amount of external custom code you can add to the system. However, please ensure that your code integrates smoothly with our monthly feature enhancements and new features.
How to Add CSS to Widgets
Applying CSS to widgets on a page offers several benefits, contributing to both the aesthetics and functionality of your site for your users. Most widgets in your Site Builder, allow for CSS to be applied.
There are a few methods to add CSS to widgets in Site Builder:
- Reference CSS classes directly in the CSS field in each widget, making sure to separate classes by a space in the field. Usually at the bottom of the widget editing options. Please note, not all widgets have a CSS field.
- If the widget has a WYSIWYG editor, you can get more granular by selecting the HTML button and work with the code editor in the WYSIWYG editor. Please note, not all widgets have a WYSIWYG editor.
- Use the Custom HTML widget to build a widget using CSS.
Follow these steps:
- From your homepage, select Site > Site Builder.
- In the left menu, select Layouts (or Pages if you are building a custom layout from scratch).
- Select the layout in which you'd like to alter.
- Click Actions > Edit (or Actions > Design on the Custom Page you'd like to alter.)
- Click the pencil icon to edit the widget on the page.
- Scroll down, inside the widget, to find the CSS field and add the CSS class.
- To use the WYSIWYG (text box editor) within the widget, select widget from menu of widgets in the left menu and select the <> icon to begin.
- To add a Custom HTML widget, select the widget option from menu of widgets in the left menu and it will get added to the bottom of your layout.
Note
The following widgets have a WYSIWYG text box editor included:
- Single Column
- Two Column
- Three Column
- Four Column
Tip
If you're using the Header or Footer HTML sections under Site > Site Builder > Custom Code, this article may come in handy.
CSS Library
We are providing a list of commonly used custom code snippets for your convenience. However, please be advised that using this code is at your own risk. Thought Industries Support cannot and will not provide assistance with questions or tickets related to CSS issues.
It's also important to ensure that any code you add to your platform is compatible with the monthly feature releases and enhancements we implement. Regular updates are essential to keep your platform running smoothly and efficiently, so please verify that your custom code integrates well with these updates.
Frequently Applied CSS
-
Hide 'gift purchase' Button on the Detail Page:
.widget--course-purchase .btn--secondary{display:none;}
OR.enroll__secondary-actions .icon-gift {display:none;}
-
Hide Section Numbers:
.syllabus__section-title-index {display:none;}
-
Hide Email and Print Icon in Articles:
.article-header i {display:none;}
-
Hide Tags in Article and Video content:
.article-sidebar__custom-fields {display:none;}
-
Hide the "complete" overlay (with a green check mark) on catalog widget tiles:
.catalog-grid-item__completed-container {display:none;}
-
Hide testimonial box at the end of a course:
.sidebar__testimonial {display:none;}
-
Hide Cart:
#cart-button {display:none;}
-
Remove the Correct/Incorrect Text and Icon in a Quiz Response:
.choice__icon, .choice__review, .choice__icon i, .choice__review i {display:none;}
-
Center images in the WYSIWYG Text editor:
<img src="URLGoeshere"style="margin-left: auto; margin-right: auto; display: block, width:50%"
-
Hide Notes option in course sidebar for learners:
a[href$="notes"] {display:none;}
Tip
Remember to check out the Translations section of your platform, as it allows you to accomplish specific tasks that CSS cannot.