Page layout: Stream pages

A reference guide to the stream page page types and their page components

This reference guide describes the layout and composition of pages with the stream page page type (including all variants).

Usage

Use this guide to understand which components are used on pages with this page type, how they are laid out, and how to target them for customization.

The diagrams in this guide are representative of the out-of-the-box layouts of pages with variants of this page type. Each diagram is annotated with the page components that are present on the indicated page type variant (or which may be present, depending on backend settings).

For each page component, the relevant CSS selectors (for both the component itself, and its container) are provided. Wherever a page component is part of a larger page component that has its own reference guide, this is also indicated.

About this Page Type

The purpose of the stream page page type is to display content in a browseable grid, so the tile grid page component is a prominent part of its layout.

There are multiple variations of this page type, known as secondary page types. All share identical default layouts, and differ only in the type of content they display.

Two of the secondary page types, marketing stream and sales stream, have an alternate layout called Banner+Logo Template. This alternate layout is more commonly used than the Default layout for these secondary page types, so it is shown in the diagrams below. This layout includes a unique page component that is not present on any other page type, the stream banner.

πŸ“˜

Note

Most pages in the hub front end have a container class that is applied to component containers that are centered on the page, and which is used to set their default width. On the stream page page types, the container class is applied to the following components:

  • Hub Navigation
  • Tile Container
  • Footer

You can adjust the default widths of the container class to adjust the widths of these page components.

Source stream pages

The layouts below are used for pages with the Blog Stream, Video Stream, Document Stream, and Social Stream secondary page types. These secondary page types are used to display a grid of content of a single type, and from a single source.

Desktop layout

This layout is used for viewports 1337 px wide or larger:

3334

(Click to enlarge)

Mobile layout

This layout is used for viewports 560 px wide or smaller:

3334

(Click to enlarge)

Page components and CSS selectors

The following table lists the CSS selectors for the labelled page components in the diagrams:

Page ComponentContainer CSS SelectorComponent CSS SelectorNotes
Hub Navigationbody.uf-top-nav-containerSee Page Component: Hub Navigation for more information.
Stream Name.uf-description-block.title
Stream Description.uf-description-block.subtitle
Tile Container.uf-lazy-loader.uf-tile-containerSee Page Component: Tile Grid for more information.
See More Button.uf-lazy-loader.uf-lazy-loader-load-moreCan be hidden and toggled to lazy loading by disabling backend option Hubs > Hub Options > Advanced > Load content by "See more" button.
Footerbody.uf-footer

Marketing stream page (Banner+Logo template)

The layouts below are used for pages with the Marketing Stream secondary page type when the Banner+Logo template is enabled. This secondary page type/template is used to display a grid of content of mixed types, from one or multiple sources, along with a banner that can be customized/personalized in the hub backend.

Desktop layout

This layout is used for viewports 1337 px wide or larger:

3334

(Click to enlarge)

πŸ“˜

Note

When the Banner+Logo template is disabled for a Marketing Stream, the stream will use the Default template instead: the layout of this template is effectively identical to the layout of a Source Stream.

Mobile layout

This layout is used or viewports 560 px wide or smaller:

3334

(Click to enlarge)

Page components and CSS selectors

The following table lists the CSS selectors for the labelled page components in the diagrams:

Page ComponentContainer CSS SelectorComponent CSS SelectorNotes
Hub Navigationbody.uf-top-nav-containerSee Page Component: Hub Navigation for more information.
Banner (Color)body .hero-templatePart of the Hub Banner page component.

Displays a solid color by default, unless a banner image is set.
Banner (Image).hero-template.hero-template-overlayPart of the Hub Banner page component.

Displayed on top of the banner color. Only present if a banner image has been set.
Company Logo.hero-template-logo.uf-company-logo-colorPart of the Hub Banner page component.
Glyphicondiv.is-justify-center.stream-banner-logos-iconPart of the Hub Banner page component.
Prospect Logo.hero-template-logo.uf-prospect-logo-colorPart of the Hub Banner page component.
Banner Title.hero-stream-logos.uf-banner-title-colorPart of the Hub Banner page component.
Stream Name.uf-description-block.title
Stream Descriptionuf-description-block.subtitle
Tile Container.uf-lazy-loader.uf-tile-containerSee Page Component: Tile Grid for more information.
See More Button.uf-lazy-loader.uf-lazy-loader-load-moreCan be hidden and toggled to lazy loading by disabling backend option Hubs > Hub Options > Advanced > Load content by "See more" button.
Footerbody.uf-footer

Hub backend configuration

On the Banner+Logo template layout, users can disable some of the page components listed above on a per-stream basis. This is configured in the Uberflip backend under Hubs > Content > Streams > select Stream > Appearance. The following settings are available:

  • Hide Hub Menu and Footer: When enabled, removes the Hub Navigation and Footer components from the DOM.
  • Hide Item Navigation: When enabled, removes the Items Carousel/Carousel Header/Carousel Controls, Next Post Flyout, and Previous Post Flyout components from the DOM on item pages within the stream.
  • Hide Stream Title: When enabled, removes the Stream Name component from the DOM.

Sales stream page (Banner+Logo template)

The layouts below are used for pages with the Sales Stream secondary page type when the Banner+Logo template is enabled. This secondary page type/template is used to display a grid of content of mixed types, from one or multiple sources, along with a banner that can be customized/personalized in the hub backend.

It is very similar to Marketing Stream Page (Banner+Logo Template), but does not have:

  • The hub navigation component, as Sales Streams are intended as standalone experiences separate from the rest of the hub.
  • The see more/lazy load component, as Sales Streams are limited to 20 content items.

Desktop layout

This layout is used for viewports 1337 px wide or larger:

3334

(Click to enlarge)

πŸ“˜

Note

When the Banner+Logo template is disabled for a Sales Stream, the stream will use the Default template instead: the layout of this template is effectively identical to the layout of a Source Stream, with the following differences:

  • The Hub Navigation component is removed
  • A User Avatar component (consisting of a <figure> element with the class uf-avatar) is placed to the left of the Stream Name and Stream Description components

Mobile layout

This layout is used for viewports 560 px wide or smaller:

3334

(Click to enlarge)

Page components and CSS selectors

The following table lists the CSS selectors for the labelled page components in the diagrams:

Page ComponentCSS SelectorNotes
Banner (Color)body .hero-templatePart of the Hub Banner page component.

Displays a solid color by default, unless a banner image is set.
Banner (Image).hero-template.hero-template-overlayPart of the Hub Banner page component.

Displayed on top of the banner color. Only present if a banner image has been set.
Company Logo.hero-template-logo.uf-company-logo-colorPart of the Hub Banner page component.
Glyphicondiv.is-justify-center.stream-banner-logos-iconPart of the Hub Banner page component.
Prospect Logo.hero-template-logo.uf-prospect-logo-colorPart of the Hub Banner page component.
Banner Title.hero-stream-logos.uf-banner-title-colorPart of the Hub Banner page component.
Stream Name.uf-description-block.title
Stream Description.uf-description-block.subtitle
Tile Container.uf-lazy-loader.uf-tile-containerSee Page Component: Tile Grid for more information.
Footerbody.uf-footer

Hub backend configuration

On the Banner+Logo template layout, users can disable some of the page components listed above on a per-stream basis. This is configured in the Uberflip backend under Hubs > Content > Streams > select Stream > Appearance. The following settings are available:

  • Hide Stream Title: When enabled, removes the Stream Name component from the DOM.