--- title: "Customizing Your Training Site with CSS and Javascript: Element Targeting Overview" slug: "customizing-training-site-css-javascript-element-targeting" updated: 2026-11-23T12:33:17Z published: 2026-11-23T12:33:17Z canonical: "support.gainsight.com/customizing-training-site-css-javascript-element-targeting" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Customizing Your Training Site with CSS and Javascript: Element Targeting Overview ## Targeting different areas of the Skilljar Platform This article breaks down the page types in Skilljar and provides key objects that your web developer can use to customize your training site. You can target any of the elements on the Skilljar platform using Code Snippets in the Theming section of the dashboard. ### Related Articles: - [Customizing Your Training Site With CSS and Javascript](/v1/docs/customizing-your-training-site-with-css-and-javascript) - [Customizing the Branding and Look of Your Training Site](/v1/docs/customizing-the-branding-and-look-of-your-training-site) - [Add Custom Fonts to your training site with CSS](/v1/docs/add-custom-fonts-to-your-training-site-with-css) - [Updating Strings across the Skilljar Platform using the Languages Page](/v1/docs/customizing-text-and-translations-on-the-languages-page) ### How to use this Article: The majority of the pages in your Skilljar Site are defined below with the important Page Selectors and Children classes/id's that can be targeted on each page. This should be useful as a starting point for web developers who are working on the front end work to customize the training site theming. We also include some Javascript Objects that are surfaced on each of the pages, as well as ones that are surfaced across the entire site. In the Tables Below - you can click on the image to expand it, and you can reference the pages that were used to gather the images on [Skilljar Academy](https://education.gainsight.com/page/skilljar). All of the children objects are labeled on the image corresponding with their list number. You can also check out the [Skilljar Academy - Example Site Map](/v1/docs/customizing-training-site-css-javascript-element-targeting#skilljar-academy-example-site-map) which can help you understand the general relationship between pages on a Training Domain. This article is not a comprehensive list of objects that can be customized with CSS and Javascript, but we hope that it will be helpful in providing an introduction to the different pages across the Skilljar platform, setting your web developer up for success in their customization work. | **Site Wide Elements** | | --- | | **Header** Selector: #header Children: 1. .header-left 2. .header-right | ![Screenshot showing How to use this Article:](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Header.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=cqs%2BF2mVoac%2B7fSDdKvsVFPXhZMLV2aTZLpEHAhrykE%3D) | | **Footer** Selector: #ep-footer Children 1. #footer-left 2. .right | ![Screenshot Footer](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Footer.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=djydEAzCT5GXxzQ7C1YY3yzK9uyZeIQ1WJXcRdOavAc%3D) | | **Javascript Objects** isSkilljarFirstPageviewSinceAuth isSkilljarFirstPageviewSinceNewDomainMembership isSkilljarTestUser Available only when user is signed in: skilljarUser skilljarUserStudentGroups Available only when custom Sign Up Fields are present: skilljarUserSignupFields | | | **Sign In / Sign Up Pages** | | | --- | --- | | **Sign In Page** Body Selector: .sj-page-login Children: 1. #login_form | ![Screenshot showing How to use this Article:](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Login_Page(1).png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=5Iy9QcwJ1MLC5hbviDqKzSwS2rbNYTX%2F8GMaK%2B%2BVYlc%3D) | | **Sign Up Page** Body Selector: .sj-page-signup Children: 1. #signup_form | [![Screenshot showing How to use this Article:](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Sign_up.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=x2cEGk865GE0cyVTFGfRBGyFyV3KolX7TfLX3ws46eU%3D)](https://support.skilljar.com/hc/article_attachments/360041136114/Sign_up.png) | | **Profile Page** | | | --- | --- | | Body Selector: .sj-page-profile Children: 1. .profile-course-table | [![Screenshot showing How to use this Article:](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Profile_Page.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=829AmbHjEzuUdi7y9ifmV3rX4KuZWQziG1rcHggFYrA%3D)](https://support.skilljar.com/hc/article_attachments/360041136614/Profile_Page.png) | | **Catalog Pages** | | | --- | --- | | **Catalog Root Page** Body Selector: .sj-page-catalog-root Children: 1. .search-container 2. .catalog-header 3. #catalog-courses 4. .coursebox-container - Use this Selector if targeting all tiles on the catalog 5. .sj-course-page - Use this selector if only targeting Page Tiles (not courses or legacy Series) **Group Root Page:** If the root page is the root because of a group association, the #main_container has data-group-id="group_id,..." which contains a comma separated list of group IDs which are telling the platform to make this the home page for the user. (If the user is in other groups but those groups are not designating this as the root catalog page, they will not be listed). | ![Screenshot showing How to use this Article:](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Catalog_Page.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=TdHEQSRWSf3tBMnTvSckn64u3EbT%2BiHJQLfHxi%2F5jjg%3D) | | **Catalog Page (non Root page)** Body Selector: .sj-page-catalog Children: 1. .catalog-header **Non Root Page Specific info:** The #main_container has a data tag: data-catalog-page="page-slug" . The page-slug will be blank if it is the domain root catalog page. | ![Screenshot showing How to use this Article:](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Course_Series.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=dADejo%2BUx06VuteElIMLIxKK7tr2DIWOUNjKW7R83Y8%3D) | | **Learning Path Page** Body Selector: .sj-page-detail-path(pre-enrollment) .sj-page-path(post-enrollment) Children: 1. .purchase-button-wrapper 2. #catalog-courses | ![Course_Series.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Course_Series.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=dADejo%2BUx06VuteElIMLIxKK7tr2DIWOUNjKW7R83Y8%3D) | | **Legacy Course Series** *Note: This object cannot be created anymore via the dashboard (Catalog Page Object should be used instead), but the selector listed here for Legacy Usage* Body Selector: .sj-page-series Children: 1. .catalog-header | ![Screenshot showing How to use this Article:](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Bundle_Page.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=ytLoBxfaICovtvnC4QKfH3bktsDmXNqAugVXyz13KWs%3D) | | **Search Results** *Note: This object is available on any page where search has been enabled in the Page Settings* Body Selector: .sj-page-catalog Children: 1. #catalog-search-info Callback Function searchCompleteCallback() | ![Screenshot showing How to use this Article:](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Search_Page.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=D39gr%2BhhNL%2FDif8ACjU23BMnO3%2BWfBj2DjANpTTsrag%3D) | | **Course Pages** | | | --- | --- | | **Course Detail Page** Body Selector: .sj-page-detail-course Children: 1. .purchase-button-wrapper 2. #dp-details | [![Screenshot showing course details page](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Course_Details.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=wYxT%2BVang4e02sz1Q7t%2FtbTiTVMFFpQzJtWf0lqOKxc%3D)](https://support.skilljar.com/hc/article_attachments/360041970173/Course_Details.png) | | **Curriculum Page** Body Selector: .sj-page-curriculum Children: 1. #resume-button 2. .section-container .tabs 3. .curriculum-list | ![Screenshot showing curriculum page](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Curriculum.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=J%2BaPYKH1n06WDbvaWVJAWLRFwHAwrE2bQbu0H5soDew%3D) | | **Purchase Page** Body Selector: .sj-page-checkout Children: 1. .payment-top-row 2. .payment-methods-container | [![Screenshot showing purchase page](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Purchasing_Page.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=fEORevBis3InfKzNidjvMRfmYn6uT8FCSICzlOIue0A%3D)](https://support.skilljar.com/hc/article_attachments/360041162114/Purchasing_Page.png) | | **Lesson Page** Body Selector: .sj-page-lesson Children: 1. .lp-left-nav 2. #details-pane 3. #lesson-main-content 4. .next-lesson-button 5. .prev-lesson-button | [![Screenshot showing Lessons page](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Lesson.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=K%2BjQZPA%2FotKe%2Bwmqaz1TmwzUOX4DFbiqPW%2FdBUtZ%2Fgk%3D)](https://support.skilljar.com/hc/article_attachments/360041984973/Lesson.png) | ### Skilljar Academy - Example Site Map This site map is an example of the structure of the pages within an older version of Skilljar Academy. This is built from [Onboarding Course 1: Planning](https://education.gainsight.com/organize-your-site-with-catalog-pages), which is a course in the [Onboarding Course Series](https://education.gainsight.com/page/skilljar-catalog#separator-skilljar-foundations) on [Skilljar Academy](https://education.gainsight.com/page/skilljar) (Domain Access is Public). With the release of [Pages](/v1/docs/create-and-edit-catalog-pages), you now have the ability to add multiple layers of pages below the root catalog page to this structure, so your domain could have much more complicated web of page relationships. Specific theme/access/course settings within your site can also impact how this maps for your domain, but this image should still be useful in understanding the basics in Skilljar site page relationships: ![Screenshot showing Skilljar Academy - Example Site Map](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Screen_Shot_2021-01-04_at_2.52.19_PM.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A26Z&se=2026-11-24T18%3A23%3A26Z&sr=b&sp=r&sig=rZJ%2FAHdYdgT%2Bm%2Fu4r%2BojUuzD2Tvq3PBw2ujOsfddzrs%3D)