Skip to main content

Portrait mode

Is it available? Why not?

Ryan avatar
Written by Ryan
Updated over a week ago

Every native plugin at TRMNL requires 4x layouts. Thus we maintain 400 frontend markups per 100 plugins, which doesn't include logic within each view impacts markup further based on user preferences.

As such, we've decided (for now) to not natively support portrait mode.

However! You can absolutely build and publish plugins that do offer portrait orientation.

Setting up portrait mode

First, build a plugin. This can be a Recipe, private plugin, or third party instance. Learn more about each type here.

Next, inside your markup, simply add the transform CSS declaration like so:

transform: rotate(90deg);

Here's some working sample code:

<style> 
div#content {
transform: rotate(270deg);
}
</style>

<div id="content" class="markdown gap--xsmall">
<span class="title">First Time Around</span>
<div style="width: 390px;">
<p><i><b>First Time Around</b></i> is a one-disk DVD by Randy Bachman and Burton Cummings recorded in 2006 at CBC Studios in Toronto, Canada, by CBC. It was originally shown on CBC in April 2006, but was later released as a DVD with extended footage of the concert. The concert has 20 tracks of songs by Bachman-Turner Overdrive, Burton Cummings, The Guess Who and cover versions of artists such as Sting and Jimi Hendrix. It was originally shown on CBC in April 2006, but was later released as a DVD with extended footage of the concert. The concert has 20 tracks of songs by Bachman-Turner Overdrive, Burton Cummings, The Guess Who and cover versions of artists such as Sting and Jimi Hendrix Sting and Jimi Hendrix. It was originally shown on CBC in April 2006, but was later released as a DVD with extended footage of the concert. The concert has 20 tracks of songs by Bachman-Turner Overdrive, Burton Cummings, The Guess Who and cover versions of artists such as Sting and Jimi Hendrix Sting and Jimi Hendrix. It was originally shown on CBC in April 2006, but was later released as a DVD with extended footage of the concert. The concert has 20 tracks of songs by Bachman-Turner Overdrive, Burton Cummings, The Guess Who and cover versions of artists such as Sting and Jimi Hendrix.</p>
</div>
</div>

Which looks like this in TRMNL's live preview markup editor:

And here's the completed render:

Did this answer your question?