#  Class 

 



 ##  

  expand\_more  

 
  

 

## How to work with the Class content type

The Class content type is useful for providing information and details about classes and education programs, linked to an associated class website or learning platform.

### Step 1: Create a class

1. Use the platform menu to navigate to **Content &gt; Add Content &gt; Class**.

### Step 2: Add class details

1. Enter the name of the class in the **Title** field.
2. Select the class semester from the **Semester** menu.
3. Enter the class year in the **Year** field.
4. In the **Class URL** section, add an optional link, for example, to a class website or learning platform.
    1. **Link text:** Short descriptive text. This should be self explanatory to help site visitors know where the link will take them.
    2. **URL:** The link destination. This can be either the title of other site content or an external URL.
5. Click within the **Body** area. You can add content, images and quotes within this section (see [Text Editor](/resource/text-editor "Text Editor") for details about using the toolbar and text input area). Add your content for the class in this area.
    1. If you would like to add an image within your content, click on the media icon (see [Adding an image](/adding-an-image "Adding an image") for instructions for adding an image using the text editor).
    2. Format all of your content and images using the text editor.
6. Add additional components to the class details page by selecting the **Choose component** button in the **Additional Content** section (see [Adding a component](/adding-component "Adding a component") for instructions on how to add a component). Components added to this section will display in the **Bottom Region**, below the class details.

### Step 3: Configure class settings

1. To provide a link to the class in the site menu, select **Menu Settings** and then select the **Provide a menu link** checkbox and provide the following details:
    1. **Menu link title:** The menu link is automatically set to the **Title** field but you can edit the menu link title if needed.
    2. **Description:** In most cases a link description is unnecessary. We recommend leaving this field blank.
    3. **Parent link:** Locate the page within the site menus using the **Parent link menu**. Select **&lt;Main navigation&gt;** to include the page as a top-level link in the main site menu. Select a section or subsection link as the parent link to include the page as a submenu item.
    4. **Weight:** The weight determines the order of the link within the selected menu. We recommend using the menu management features instead of weight values (see [Managing menus](/managing-menus "Managing menus") for instructions on creating and configuring menus).
2. Add a descriptive **Excerpt** to display on class lists and search results.
3. Add a **Thumbnail** to provide additional context about the class for site visitors.
    1. The optimal image size (in pixels) for a thumbnail image is 960 x 540 (see [Image Sizes](/resource/image-sizes-old "Image Sizes") for more details).
4. We recommend assigning taxonomy terms to classes, to help filter class lists and search results (see [Taxonomy best practices](/resource/taxonomy-best-practices "Taxonomy Best Practices") and [Managing taxonomies](/managing-taxonomies "Managing taxonomies") for guidance on creating and using taxonomies).
5. You have the option to add a file attachment to display on the class details page. Supported file formats are: TXT, DOC, DOCX, XLS, XLSX, CSV, PDF, and RTF. Make sure any documents uploaded to your site are accessible (see [document accessibility](https://accessibility.huit.harvard.edu/accessible-documents)).
6. The first time you save a class, we recommend you save as a **Draft** so that you can preview the class and its links before publishing it to your site (see [Publish Status](/resource/publish-status "Publish Status") for details about different publication statuses).



 

---

 

##  Learn more about the Class content type 

 



 ### Examples

Demo Site

See examples of the Class content type on the [Undergraduate landing page](https://drupaldemo.harvardsites.harvard.edu/undergraduate#example-class-list) and the [Classes Listing Page](https://drupaldemo.harvardsites.harvard.edu/classes) of the Department of Rocket Science demo site.



 

   ![](/sites/g/files/omnuum1651/files/styles/hwp_16_9__480x270/public/2024-12/Firefly%20rocket%20in%20space%209486.jpg?itok=zBGEAUN2) 

 

 

 

  

 

 

 

 



 

 See also:- [ Content Types ](/site-section/content-types)
- [ How-tos ](/content-structure/how-tos)