Skip to main content
Skip table of contents

Style header and footer based on presentation position

You can apply CSS styles to the header and footer based on the current position in the presentation. CSS classes are applied to header and footer for the title slide (position-title), the last slide (position-last) and every top slide in a column (position-top).

Example

This code gives the footer a red background on every slide that is the top in a column:

CSS
.slide-footer.position-top {
  background: #F00;
}

This code lets the header of the last slide turn blue:

CSS
.slide-header.position-last {
  background: #00F;
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.