Layouts
In-Depth offers multiple layouts for toppers which can be used to create nearly inifinite number of unique experiences.
Flat
This is the default topper layout, which layers a shallow visual above the headline.
desktop | mobile |
---|---|
Sample configuration
{storyTopper}
layout: flat
{}
Text on the top
An alternative layout swaps the positions of the headline/text and visual.
desktop | mobile |
---|---|
{storyTopper}
layout: flat-text-top
{}
Examples
- https://www.azcentral.com/in-depth/news/local/arizona/2019/06/19/abortion-laws-2019-how-heartbeat-bills-passed-ohio-missouri-more/1270870001/
- https://www.greenvilleonline.com/in-depth/news/local/south-carolina/2019/09/29/police-shootings-in-sc-greenville-county-sheriffs-office-tops-list/779095002/
- Text top: https://www.jsonline.com/in-depth/news/special-reports/dairy-crisis/2019/08/28/milk-vs-almond-soy-oat-milk-water-and-soda-how-can-dairy-compete-with-alternative-products/2141547001/
- Text top: https://www.azcentral.com/in-depth/news/local/arizona/2019/09/11/derek-pope-veteran-ptsd-says-iraq-afghanistan-wars-left-him-scarred-but-unbroken/2136568001/
No media
A topper does not require a visual element, though a strong visual punch at the beginning of a story is strongly encouraged. Toppers with no visual configured (image or video) are well suited for stories with large illustrations or immersive interactives at the beginning of the article body.
There is no layout to configure in these instances, so leave it and any visual configuration blank.
desktop | mobile |
---|---|
{storyTopper}
//layout:
//image:
//video:
{}
Examples
- The story leads off with a custom interactive: https://www.delawareonline.com/in-depth/news/2021/05/10/letters-family-legacy-china-wisconsin-delaware-dupont-monona-yin-memoir/4333827001/
Gradient
A large visual plays mostly fullscreen with a subtle color gradient extending up from the bottom for text legibility. The main visual seamlessly blends into the story background. This is the original topper design.
desktop | mobile |
---|---|
value | purpose | default |
---|---|---|
layout |
Set to gradient |
|
hideGradient |
If set to true , the gradient overlay will not display, but the overall height of the topper will remain the same |
false |
headlinePlacement |
Supports text placement, as described here. | None |
bumpDeck |
Supports bumpDeck , as described here. |
None |
Sample configuration
{storyTopper}
layout: gradient
bumpDeck: mobile
headlinePlacement: top-left
{}
Examples
- https://www.indystar.com/in-depth/news/2019/03/26/john-sonny-franzese-colombo-crime-family-indianapolis/3139068002/
- https://www.capecodtimes.com/in-depth/special/special-sections/2020/09/02/cape-cod-beach-guide/114060138/
- With video: https://www.usatoday.com/in-depth/news/2019/05/14/black-girls-school-discipline-racism-disparities-pushout-solutions/1121061001/
- With video: https://www.rgj.com/in-depth/news/2019/06/27/sagebrush-sea-wildfire-risk-rangeland-nevada/1255395001/
Fullscreen
The fullscreen layout sets the image or video height to 100 percent of the viewport, makes the navigation bar background transparent (returning to opaque upon scroll) and adds a scroll prompt icon to the bottom of the page. Topper text can be positioned vertically for optimal presentation of the media.
The fullscreen topper uses a clickable icon to encourage readers to scroll beyond the topper.
Caution
Fullscreen toppers, by their very nature, crop the images to fit device screens, meaning portions of the visual on the edges are likely to be clipped. Not all visuals are suited to this variability, so be sure to check on a variety of devices, including mobile devices and very wide screens, too.
desktop | mobile |
---|---|
value | purpose | default |
---|---|---|
layout |
Set to fullscreen |
|
textShadow |
The headline text has a slight, css-based drop shadow. Pass in a new, valid css value to alter it. | 0 2px 2px rgba(0,0,0,.5) |
scrollPrompt |
Define the shape of the icon in the scroll prompt. Options: icon for an animated icon, arrow |
arrow |
headlinePlacement |
Supports text placement, as described here. | None |
bumpDeck |
Supports bumpDeck , as described here. |
None |
Sample configuration
{storyTopper}
layout: fullscreen
bumpDeck: true
headlinePlacement: right-bottom
{}
Analytics
TK
Examples
- https://www.usatoday.com/in-depth/news/investigations/2019/11/06/cali-cartel-leader-dies-interior-decorators-take-fall-crime/4050770002/
- https://www.goerie.com/in-depth/news/local/2020/08/16/lsquoi-felt-almost-forced-to-try-to-helprsquo/42207943/
- https://www.usatoday.com/in-depth/news/education/2019/10/16/slavery-racism-black-history-historical-sites-historic-places-field-trip/1905346001/
- https://www.courier-journal.com/in-depth/news/crime/2019/11/24/mexico-cartel-chopper-attack-survivor-hunt-el-mencho-not-hopeless/2560335001/
Side-by-side
desktop | mobile |
---|---|
value | purpose | default |
---|---|---|
layout |
Set to side-by-side |
|
bumpDeck |
Supports bumpDeck , as described here. |
None |
Sample configuration
{storyTopper}
layout: side-by-side
{}
Text on the left
A variation of this topper swaps the positions of the text and visual
desktop | mobile |
---|---|
{storyTopper}
layout: side-by-side-text-left
{}
Examples
- https://www.usatoday.com/in-depth/news/education/2021/05/27/covid-mental-health-therapy-college-depression-anxiety/7425965002/
- https://www.usatoday.com/in-depth/opinion/voices/2021/04/23/ramifications-withdrawing-american-troops-afghanistan-column/7262190002/
- https://www.usatoday.com/in-depth/tech/2021/05/13/youtube-mark-rober-next-glitterbomb-video-jimmy-kimmel/7349379002/
Notch
Similar to the gradient topper, the noth features a large main visual with the text partially overlapping it. The notch topper displays as flat on mobile devices.
desktop | mobile |
---|---|
Sample configuration
{storyTopper}
layout: notch
{}
Examples:
- https://www.freep.com/in-depth/entertainment/music/brian-mccollum/2019/07/24/white-stripes-oral-history-early-years/1806748001/
- https://www.freep.com/in-depth/entertainment/dining/2019/07/30/detroit-style-pizza-restaurants/1772065001/