Skip to main content

Related content block

The related content block is used to highlight related content such as news, stories or research. Multiple options are available.

New!

Three-across

This new Drupal 2.0 block can be used with or without a background. We recommend using the dedicated background image for this section to maintain consistency across the site. It is available in every site's media library named related-content-bg.jpg.

Click on the "gear" icon in the editor to add your keywords, research terms, tags, etc to filter the feed.

abstract gold textured bg

University of Washington, Pacific Northwest National Laboratory team up to make the materials of tomorrow

The outsized impact of materials science on today’s world has prompted UW and Pacific Northwest National Laboratory to create the Northwest Institute for Materials Physics, Chemistry and Technology — or NW IMPACT. The new joint research endeavor will power discoveries and advancements in materials that transform energy, telecommunications, medicine, information technology and other fields.

#MemoriesInDNA Project wants to store your photos in DNA for the benefit of science – and future generations

Researchers from the Molecular Information Systems Lab at the University of Washington and Microsoft are looking to collect 10,000 original images from around the world to preserve them indefinitely in synthetic DNA manufactured by Twist Bioscience. DNA holds promise as a revolutionary storage medium that lasts much longer and is many orders of magnitude denser than current technologies.

Researchers program biomaterials with ‘logic gates’ that release therapeutics in response to environmental triggers

UW scientists have built a biomaterial-based delivery system that uses mathematical logic to target therapeutics with a high degree of precision. When specific physiological conditions are met, the casing dissolves and releases its therapeutic freight.

News or stories versions

Each non-Drupal 2.0 option has a version for News pages and a version for Story pages. News pages are used for all news stories and some featured stories. Story pages are used for media-heavy featured stories, known as "immersive stories," and other content that contains a lot of images and media.  

Single item vertical

News and Page content type version

This block floats to the left or right of other page elements, allowing text to wrap around it.

Live example

example

Code

This code floats the block to the left of page content. To float right, change float-sm-left to float-sm-right.

	
<div class="mb-3 mr-sm-3 float-sm-left col-lg-4 col-md-6 p-0">
        <div class="p-3 bg-info" style="border-top: 30px solid transparent; border-image: url(https://www.engr.washington.edu/sites/engr/files/imgs/diagonal-lines-border.png) 30">
                <h3 class="mt-0">Related story</h3>
                <div class="w-25" style="border-top: 6px solid #85754d">&nbsp;</div>
                <img alt="#" class="mb-2" loading="lazy" src="img.jpg">
                <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
                <h4 class="h3 mt-0"><a href="#">Headline goes here</a></h4>
                <p>Body text goes here.</p>
        </div>
</div>

Story and Layout content type

This block goes in the sidebar, to the right of the main content. Text will not wrap around it.

Live example

example

Code

Place this code in the "Aside Text" within a "Copy Block with Aside" block. The CSS only needs to be on the page once; it's not needed if it's already in another block.

	
<style type="text/css">
        .uwcoe-stories-aside {padding: 0;}
</style>

<div class="p-3 bg-info" style="border-top: 30px solid transparent; border-image: url(https://www.engr.washington.edu/sites/engr/files/imgs/diagonal-lines-border.png) 30">
        <h3 class="mt-0">Related story</h3>
        <div class="w-25" style="border-top: 6px solid #85754d">&nbsp;</div>
        <img alt="alt text" class="mb-2" loading="lazy" src="img.jpg" />
        <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
        <h4 class="h3 mt-0"><a href="#">Headline goes here</a></h4>
        <p>Body text goes here.</p>
</div>

Two items vertical

News and Page content type version

This block floats to the left or right of other page elements, allowing text to wrap around it.

Live example

example

Code

This code floats the block to the right of page content. To float left, change float-sm-right to float-sm-left.

	
<div class="mb-3 float-sm-right col-lg-4 col-md-6 p-0">
        <div class="px-4 bg-white">
                <h3 class="mt-0">Related story</h3>
                <div class="w-25" style="border-top: 6px solid #85754d">&nbsp;</div>
                <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
                <h4 class="h3 mt-0"><a href="#">Headline goes here</a></h4>
                <p class="mb-4">Body text goes here.</p>
                <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
                <h4 class="h3 mt-0"><a href="#">Headline goes here</a></h4>
                <p>Body text goes here.</p>
        </div>
</div>

Story and Layout content type

This block goes in the sidebar, to the right of the main content. Text will not wrap around it.

Live example

example

Code

Place this code in the "Aside Text" within a "Copy Block with Aside" block. The CSS only needs to be on the page once; it's not needed if it's already in another block.

	<style type="text/css">
        .uwcoe-stories-aside {padding: 0;}
</style>
<div class="p-3 bg-white">
        <h3 class="mt-0">Related story</h3>
        <div class="w-25" style="border-top: 6px solid #85754d">&nbsp;</div>
        <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
        <h4 class="h3 mt-0"><a href="#">Headline goes here</a></h4>
        <p class="mb-4">Body text goes here.</p>
        <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
        <h4 class="h3 mt-0"><a href="#">Headline goes here</a></h4>
        <p>Body text goes here.</p>
</div>

Two items horizontal

News and Page content type version

This block spans the width of the page and goes between paragraphs or sections.

Live example

example

Code

	
<div class="p-4 my-3 bg-info" style="border-right: 40px solid transparent; border-image: url(https://www.engr.washington.edu/sites/engr/files/imgs/diagonal-lines-vertical.png) 40">
        <h3 class="mt-0">Related story</h3>
        <div class="col-1" style="border-top: 6px solid #85754d">&nbsp;</div>
        <div class="row">
                <div class="col-md-6">
                        <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
                        <h4 class="h3 mt-0"><a href="#">Hereline goes here</a></h4>
                        <p>Body text goes here.</p>
                </div>
                <div class="col-md-6">
                        <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
                        <h4 class="h3 mt-0"><a href="#">Hereline goes here</a></h4>
                        <p>Body text goes here.</p>
                </div>
        </div>
</div>

Story and Layout content type

This block is slightly wider than body text and goes between paragraphs or sections.

example

Code

Place this code in a Custom Block.

	
<div class="p-5 container my-5 bg-info" style="border-right: 40px solid transparent; border-image: url(https://www.engr.washington.edu/sites/engr/files/imgs/diagonal-lines-vertical.png) 40">
        <h3 class="mt-0">Related story</h3>
        <div class="col-1" style="border-top: 6px solid #85754d">&nbsp;</div>
        <div class="row">
                <div class="col-sm-6">
                        <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
                        <h4 class="h3 mt-0"><a href="#">Headline goes here</a></h4>
                        <p>Body text goes here.</p>
                </div>
                <div class="col-sm-6">
                        <p class="small text-dark font-weight-bold my-2 text-uppercase">Tag</p>
                        <h4 class="h3 mt-0"><a href="#">Headline goes here</a></h4>
                        <p>Body text goes here.</p>
                </div>
        </div>
</div>

News and Page content type version

This block floats to the left or right of other page elements, allowing text to wrap around it.

example

Code

This code floats the block to the right of page content. To float left, change float-sm-right to float-sm-left.

	
<div class="my-3 mx-sm-3 float-sm-right col-lg-4 col-md-6 p-0">
        <div class="p-3 bg-info" style="border-top: 30px solid transparent; border-image: url(https://www.engr.washington.edu/sites/engr/files/imgs/diagonal-lines-border.png) 30">
                <h3 class="h4 mt-0 text-uppercase text-center">Marine energy at UW</h3>
                <div class="row mb-3">
                        <div class="col-1 px-3"><i class="fal fa-long-arrow-right text-primary">&nbsp;</i></div>
                        <div class="col-10 px-1"><strong><a href="https://www.washington.edu/news/2018/12/13/new-underwater-sensors-for-sea-life/">Underwater sensors for monitoring sea life (and where to find them)</a></strong></div>
                </div>
                <div class="row mb-3">
                        <div class="col-1 px-3"><i class="fal fa-long-arrow-right text-primary">&nbsp;</i></div>
                        <div class="col-10 px-1"><strong><a href="https://magazine.washington.edu/feature/converting-ocean-waves-into-electricity-poses-challenges-and-promise/">Converting ocean waves into electricity poses challenges—and promise</a></strong></div>
                </div>
                <div class="row mb-3">
                        <div class="col-1 px-3"><i class="fal fa-long-arrow-right text-primary">&nbsp;</i></div>
                        <div class="col-10 px-1"><strong><a href="https://www.aa.washington.edu/news/article/2020-04-29/aerospace-turns-tide-marine-energy">Aerospace turns the tide on marine energy</a></strong></div>
                </div>

        </div>
</div>

Story and Layout content type

This block goes in the sidebar, to the right of the main content. Text will not wrap around it.

example

Code

Place this code in the "Aside Text" within a "Copy Block with Aside" block. The CSS only needs to be on the page once; it's not needed if it's already in another block.

	
		<style type="text/css">
        .uwcoe-stories-aside {padding: 0;}
</style>
<div class="p-3 bg-info" style="border-top: 30px solid transparent; border-image: url(https://www.engr.washington.edu/sites/engr/files/imgs/diagonal-lines-border.png) 30">
        <h3 class="h4 mt-0 text-uppercase text-center">Headline goes here</h3>
        <div class="row mb-3">
                <div class="col-1 px-3"><i class="fal fa-long-arrow-right text-primary">&nbsp;</i></div>
                <div class="col-10 px-1"><strong><a href="#">Link text</a></strong></div>
        </div>
        <div class="row mb-3">
                <div class="col-1 px-3"><i class="fal fa-long-arrow-right text-primary">&nbsp;</i></div>
                <div class="col-10 px-1"><strong><a href="#">Link text</a></strong></div>
        </div>
        <div class="row mb-3">
                <div class="col-1 px-3"><i class="fal fa-long-arrow-right text-primary">&nbsp;</i></div>
                <div class="col-10 px-1"><strong><a href="#">Link text</a></strong></div>
        </div>
</div>