Creating Headers and Footers

Objective

After completing this lesson, you will be able to create headers and footers.

Headers and Footers

From HeaderDetails, you can choose to have the header always displayed on Desktop devices. You can select where the logo is displayed, whether a custom header will be configured, whether the header is to extend the full width of the site or centered, and determine whether to display the Sign In Widget and Locale Selector.

A screenshot showing a logo on the header and input fields for Title, Alt Text, Image, and Click URL(href)

From HeaderLogo, you can upload the logo for the header. For the Click URL (href) field, we recommend using the relative link (/) to represent Home.

A screenshot for a sample SAP logo showing completed fields for Title, Alt text, Image, and Click URL (href)

Header Menu

From HeaderMenu, you build the links for the header.

A screenshot of a Menu Editor

To add the header links, click Add and select the type of link you want to add:

  • Category link
  • Content
  • Cookie Consent Manager
  • External
  • Home Page
  • List
  • TC Join
  • Top Jobs
  • View All Jobs
A screenshot showing Category Link is selected in a dropdown menu on the Link Setup section.
  • Category link - Links to existing category pages. Use the search to find the category page to link to.
  • Content - Links to existing content pages. Use the search to find the content page you want to link to.
  • Cookie Consent Manager – Opens the Cookie Consent Manager so the candidate can choose different options.
  • External - Adds a URL for any external site you want to redirect your candidates to when they click on the link. The External type is also used to link to pages on the CSB career site. Select YES for New Session for links to external sites (so the page opens in a new window), and select NO for links to the career site (open in the same window).
  • Home Page - Links to the existing home page. When brands are enabled, the Home Page link takes the user to that brand’s home page.
  • List - A dropdown list will appear in the header link. You can choose any Type to add to this list. All options that appear in the menu setup dropdown appear in this menu to select from. For example, add Featured Jobs as a header link and all the category pages can appear in the dropdown list. Another example is for the About Us link; the content pages appear in the dropdown list.
  • TC Join - Links to subscribe page (Join Talent Community).
  • Top Jobs - Only used in the footer. The Top Jobs page contains system generated pages that correspond to the top job searches that directed users to the career site.
  • View All Jobs - The View All Jobs option is also only used in the footer. To add a link to view all jobs in the header or on the home page, such as the View All Jobs button in the Featured Jobs component (shown below), use an External link, NOT the View All Jobs option. Do not open in a new session, and link to /search/.

Header Links

Header Links – External

Use the External type to link to external sites or to other pages on the CSB career site. When linking to an external site, always select YES for New Session, so the page opens in a new window.

A screenshot of the Link Setup section showing that the New Session toggle is set to 'yes'

To link to another page on the CSB career site, select NO for New Session. See more information under View All Jobs.

A screenshot of the Link Setup section showing that the New Session toggle is set to 'no'

Header Links – Relative Links

When linking to another page on the career site, use relative links whenever possible so that the URL does not need to be replaced when moving the site from Stage to Production.

Some examples of relative links:

/ = Home pages – often used for Headers, Footers, Logo, when placed on a different branded page

/Red/ = Home page for the Red brand

/search/ = View All Jobs – used in the Header, Featured Jobs component

/Red/search/ = View All Jobs for only the Red brand

The first screen capture shows how to create a header link to the Default Brand home page.

A screenshot showing that '/' is in the Source field.

The second screen capture demonstrates how to link to the Red home page from the Default Brand.

A screenshot showing that '/Red/' is in the Source field.

The Text is what displays in the header. The Title is mouse-over text and additional information used by screen readers for users with a visual disability. Remember that for accessibility purposes, Title and Text should always be labeled differently.

Note that locale is "sticky," meaning that the locale does not need to be called-out when using a relative link.

Custom Header

You can select additional customization options for the header by selecting Header Style: Custom from the Details page. A different header layout can be configured for each brand and locale, and for desktop and for mobile devices. You can have a mix of custom and default header styles on your career site.

A screenshot of the Header Editor section showing Custom in the Header Style field

Custom Header Example

In this example, the customer requested that the logo appear at the top left, with the menu options to the right. Below that, a line was added across the full width of the page. Below the line, a text box was added in the center of the page, with the Sign in and Language component to the right.

A screenshot of Best Run header

To create this custom header, three rows were added. Each row can hold a maximum of four slots. For this example, the Header Menu was expanded to fill three slots, the Line spans all four slots, and the Text component spans the middle two slots. The arrow buttons are used to expand and contract the slot sizes. View the following screen capture to see how the example above was configured. Once created, currently the rows and components cannot be moved, so plan the header carefully before beginning to configure.

Customizing Header Components

Screenshot of a the Header Editor showcasing options for customizing different components

The components that can be added to a custom header are shown below. The Sign-in and Language component is required. The logo for a custom header can be added from either the Logo component or Image component. To use a logo that is optimized for different display settings (such as desktop and mobile), use the Logo component.

Screenshot showing a +Add Component button

Footer Details

From AppearanceStylesFooters, enter any text you would like to display in the footer, and determine whether the footer is to extend the full width of the site or be centered. If you select YES for the Footer Image, the Logo menu will be displayed. Configure the footer logo in the same way as the header logo.

A screenshot shows options to set preferences for Footer display in the Details section.

If you select YES for the Footer Image, the Logo menu will be displayed. Configure the footer logo in the same way as the header logo.

A screenshot of the Logo menu with different configuration options

Select either Row Menu or Column Menu to add links to the footer. In the example shown, both the Row Menu and Column Menu have been configured.

Screenshot of links displaying in columns

To configure links in the Column Menu, click Add to add a new list of links that will appear in a column. The text you enter in the Text field of the link list will be the column header for the links. You can choose to leave this blank, if a column label is not desired.

Footer Links

This page is the same as the Header Menu Setup page, except the List option does not appear in the Type dropdown menu. Click Add and select the type of link you want to add.

Row Menu

A screenshot showing that the Row Menu tab is selected

Social Links

Social Links are presented in the footer. In the Social Links area, add the desired links, and enter the company’s preferred URL for their social networks. Leading practice is to only include social networking links that are specific to job seekers.

A screenshot of the Social Links section with options to add links
A screenshot showing icons linking to Facebook, LinkedIn, and Twitter

Update the Header

Business Example

You have added to the Default Brand a Content page for Diversity and a Category page for Onsite Jobs. Now you will add header links to those pages.

Steps

  1. From the Best Run site, navigate to the Default Brand and click on Why Work Here in the header. This is where the link to the Diversity page should reside.

  2. In CSB, navigate to AppearanceStylesHeadersEnglishDefault Brand. Explore the Details and Logo pages.

  3. Click to open the Menu page and use the pencil icon to explore the existing headers for the Default Brand.

    1. Click the pencil icon next to Why Work Here. Notice that this link is the List Type, which means that it is a dropdown list with selectable items beneath it. Also notice that title text has been entered, which is a leading practice for accessibility. In this case, the text is Why Work Here, which displays in the header, and the title is Learn about Our Company (mouse-over text and also used by screen readers).

    2. Click +Add under Link List.

    3. For Type, select Content.

    4. Under Content Link at the bottom, click the dropdown for Search for Content Page, and select Diversity English Default Brand. Notice that Diversity was entered automatically for the Title and Text.

    5. Change the Title to Learn about Our Diversity Initiatives.

    6. Click Ok and Yes at the prompt.

    7. Click Close.

    8. Save and Preview. Test the link from Why Work Here in the Default Brand header.

  4. Perform the same set of steps to add the Onsite Jobs Category page to the Best Run header.

    1. Add the link under Career Opportunities on the Menu page.

    2. For Type, select Category Link.

    3. For Category Link at the bottom, select Onsite Jobs.

    4. For Title, enter Navigate to Onsite Jobs.

    5. After saving, preview and test the link from Featured Jobs in the Default Brand header.

    Note

    The header links were only updated for the home page of the English language Default Brand. These steps would need to be repeated for other locales and brands. We will not do that in this exercise.