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

3-D printing techniques help surgeons carve new ears

Engineering and UW Medicine researchers used 3-D printing to create a model that feels and acts like rib cartilage for realistic surgical practice. The innovation could open the door for aspiring surgeons to become proficient in the sought-after but challenging procedure.

Arsenic found in many U.S. red wines, but health risks depend on total diet

Two studies from EE professor Denise Wilson show red wines containing arsenic levels that exceed the EPA's allowed limit, but health risks depend on other high-arsenic foods in our diets.

UW and Shanghai Jiao Tong University forge international collaboration on smart cities

Looking forward to making Smart Cities a banner program for trans-Pacific collaboration, UW EE and Shanghai Jiao Tong University formed a partnership to improve quality of life through innovation. Smart city innovations use sensors, data analytics, and other technologies to elevate the safety, health, resilience, prosperity, and quality of life in urban areas, where an increasing number of people around the world live. Possible solutions could include sensors showing real-time air pollution data around schools, smart parking apps that cut down on circling and congestion, and GIS mapping technologies to manage water more efficiently.

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>