Created
February 9, 2023 03:22
-
-
Save todiadiyatmo/ab43ebd0506e9b619b54a015ab26be49 to your computer and use it in GitHub Desktop.
Unit Test Content WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:cover {"overlayColor":"ugm-secondary-bg","isDark":false} --> | |
<div class="wp-block-cover is-light"><span aria-hidden="true" class="wp-block-cover__background has-ugm-secondary-bg-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:heading {"textAlign":"center","level":1} --> | |
<h1 class="has-text-align-center">Hero Title (H1)</h1> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph {"align":"center"} --> | |
<p class="has-text-align-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} --> | |
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"ugm-primary-bg","textColor":"ugm-secondary-bg","style":{"border":{"radius":"0px"}}} --> | |
<div class="wp-block-button"><a class="wp-block-button__link has-ugm-secondary-bg-color has-ugm-primary-bg-background-color has-text-color has-background wp-element-button" style="border-radius:0px">Action 1</a></div> | |
<!-- /wp:button --> | |
<!-- wp:button {"textColor":"ugm-primary-bg","style":{"border":{"radius":"0px"}},"className":"is-style-outline"} --> | |
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link has-ugm-primary-bg-color has-text-color wp-element-button" style="border-radius:0px">Action 2</a></div> | |
<!-- /wp:button --></div> | |
<!-- /wp:buttons --></div></div> | |
<!-- /wp:cover --> | |
<!-- wp:cover {"customOverlayColor":"#dce8f0","isDark":false} --> | |
<div class="wp-block-cover is-light"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim" style="background-color:#dce8f0"></span><div class="wp-block-cover__inner-container"><!-- wp:columns --> | |
<div class="wp-block-columns"><!-- wp:column --> | |
<div class="wp-block-column"><!-- wp:heading --> | |
<h2>Hero Title (H2)</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:buttons --> | |
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"ugm-primary-bg","style":{"border":{"radius":"0px"}}} --> | |
<div class="wp-block-button"><a class="wp-block-button__link has-ugm-primary-bg-background-color has-background wp-element-button" style="border-radius:0px">Action</a></div> | |
<!-- /wp:button --></div> | |
<!-- /wp:buttons --></div> | |
<!-- /wp:column --> | |
<!-- wp:column --> | |
<div class="wp-block-column"><!-- wp:image {"align":"right","id":1025,"sizeSlug":"full","linkDestination":"none"} --> | |
<figure class="wp-block-image alignright size-full"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-300x200-1.jpg" alt="Image Alignment 300x200" class="wp-image-1025"/></figure> | |
<!-- /wp:image --></div> | |
<!-- /wp:column --></div> | |
<!-- /wp:columns --></div></div> | |
<!-- /wp:cover --> | |
<!-- wp:paragraph --> | |
<p>The Common category includes the following blocks:<em> Paragraph, image, headings, list, gallery, quote, audio, cover, video.</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>The paragraph block is the default block type. It should not have any alignment of any kind. It should just flow like you would normally expect. Nothing fancy. Just straight up text, free flowing, with love.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This paragraph is left aligned.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"align":"right"} --> | |
<p class="has-text-align-right"><em>This italic paragraph is right aligned.</em></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"dropCap":true,"fontSize":"medium"} --> | |
<p class="has-drop-cap has-medium-font-size"><strong>Neither of these paragraphs care about politics, but this one is bold, medium sized and has a drop cap.</strong></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"align":"center"} --> | |
<p class="has-text-align-center">This paragraph is centered. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"fontSize":"small"} --> | |
<p class="has-small-font-size">This paragraph prefers Jazz over Justin Timberlake. It also uses the small font size.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"fontSize":"large"} --> | |
<p class="has-large-font-size">This paragraph has something important to say: It has a large font size, which defaults to 36px.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"style":{"typography":{"fontSize":46}}} --> | |
<p style="font-size:46px">The huge text size defaults to 46px, but the size can be customized.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"style":{"color":{"background":"#cf2e2e"}},"textColor":"very-light-gray"} --> | |
<p class="has-very-light-gray-color has-text-color has-background" style="background-color:#cf2e2e">This paragraph is colorful, with a red background and white text (maybe). Colored blocks should have a high enough contrast, so that the text is readable. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"style":{"color":{"text":"#1e0566"}}} --> | |
<p class="has-text-color" style="color:#1e0566"><strong>Below this block, you will see a single image with a circle mask applied.</strong></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":968,"sizeSlug":"full","className":"is-style-circle-mask"} --> | |
<figure class="wp-block-image size-full is-style-circle-mask"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-150x150-1.jpg" alt="Image Alignment 150x150" class="wp-image-968"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:heading {"level":1} --> | |
<h1>H1 Heading</h1> | |
<!-- /wp:heading --> | |
<!-- wp:heading --> | |
<h2>H2 Heading</h2> | |
<!-- /wp:heading --> | |
<!-- wp:heading {"level":3} --> | |
<h3>H3 Heading</h3> | |
<!-- /wp:heading --> | |
<!-- wp:heading {"level":4} --> | |
<h4>H4 Heading</h4> | |
<!-- /wp:heading --> | |
<!-- wp:heading {"level":5} --> | |
<h5>H5 Heading</h5> | |
<!-- /wp:heading --> | |
<!-- wp:heading {"level":6} --> | |
<h6>H6 Heading</h6> | |
<!-- /wp:heading --> | |
<!-- wp:heading --> | |
<h2>Ordered list</h2> | |
<!-- /wp:heading --> | |
<!-- wp:list {"ordered":true} --> | |
<ol><!-- wp:list-item --> | |
<li>The software should be licensed under the <a href="http://www.gnu.org/copyleft/gpl.html">GNU Public License</a>.</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>The software should be freely available to anyone to use for any purpose, and without permission.</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>The software should be open to modifications.<!-- wp:list {"ordered":true} --> | |
<ol><!-- wp:list-item --> | |
<li>Any modifications should be freely distributable at no cost and without permission from its creators.</li> | |
<!-- /wp:list-item --></ol> | |
<!-- /wp:list --></li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>The software should provide a framework for translation to make it globally accessible to speakers of all languages.</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>The software should provide a framework for extensions so modifications and enhancements can be made without modifying core code</li> | |
<!-- /wp:list-item --></ol> | |
<!-- /wp:list --> | |
<!-- wp:heading --> | |
<h2>Unordered list</h2> | |
<!-- /wp:heading --> | |
<!-- wp:list --> | |
<ul><!-- wp:list-item --> | |
<li>One</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Two</li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Three<!-- wp:list --> | |
<ul><!-- wp:list-item --> | |
<li>Four</li> | |
<!-- /wp:list-item --></ul> | |
<!-- /wp:list --></li> | |
<!-- /wp:list-item --> | |
<!-- wp:list-item --> | |
<li>Five</li> | |
<!-- /wp:list-item --></ul> | |
<!-- /wp:list --> | |
<!-- wp:gallery {"columns":2,"linkTo":"none"} --> | |
<figure class="wp-block-gallery has-nested-images columns-2 is-cropped"><!-- wp:image {"id":769,"linkDestination":"none"} --> | |
<figure class="wp-block-image"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2008/06/img_0747.jpg" alt="Brazil Beach" class="wp-image-769"/><figcaption class="wp-element-caption">Jericoacoara Ceara Brasil</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":768,"linkDestination":"none"} --> | |
<figure class="wp-block-image"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2008/06/img_0513-1.jpg" alt="Huatulco Coastline" class="wp-image-768"/><figcaption class="wp-element-caption">Sunrise over the coast in Huatulco, Oaxaca, Mexico</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":767,"linkDestination":"none"} --> | |
<figure class="wp-block-image"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2008/06/windmill.jpg" alt="Windmill" class="wp-image-767"/><figcaption class="wp-element-caption">Windmill shrouded in fog at a farm outside of Walker, Iowa</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":770,"linkDestination":"none"} --> | |
<figure class="wp-block-image"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2008/06/img_0767.jpg" alt="Huatulco Coastline" class="wp-image-770"/><figcaption class="wp-element-caption">Coastline in Huatulco, Oaxaca, Mexico</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":807,"linkDestination":"none"} --> | |
<figure class="wp-block-image"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2012/06/dsc20040724_152504_532.jpg" alt="" class="wp-image-807"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:image {"id":766,"linkDestination":"none"} --> | |
<figure class="wp-block-image"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2008/06/michelle_049.jpg" alt="Big Sur" class="wp-image-766"/><figcaption class="wp-element-caption">Beach at Big Sur, CA</figcaption></figure> | |
<!-- /wp:image --><figcaption class="blocks-gallery-caption wp-element-caption">images are not linked</figcaption></figure> | |
<!-- /wp:gallery --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><!-- wp:paragraph --> | |
<p>Quote</p> | |
<!-- /wp:paragraph --><cite>Cite</cite></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:audio {"id":821} --> | |
<figure class="wp-block-audio"><audio controls src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2008/06/originaldixielandjazzbandwithalbernard-stlouisblues.mp3"></audio></figure> | |
<!-- /wp:audio --> | |
<!-- wp:cover {"url":"https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2008/06/dsc04563.jpg","id":759,"dimRatio":50,"minHeight":274,"className":"is-light"} --> | |
<div class="wp-block-cover is-light" style="min-height:274px"><span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><img class="wp-block-cover__image-background wp-image-759" alt="" src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2008/06/dsc04563.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} --> | |
<p class="has-text-align-center has-large-font-size">Cover block with background image</p> | |
<!-- /wp:paragraph --></div></div> | |
<!-- /wp:cover --> | |
<!-- wp:paragraph --> | |
<p>The file block has a setting that lets us show or hide a download button with editable text: </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:file {"id":1690,"href":"https://wpthemetestdata.files.wordpress.com/2018/11/file_block.pdf"} --> | |
<div class="wp-block-file"><a id="wp-block-file--media-6bc74806-3396-4439-874f-8d8bfdc791ae" href="https://wpthemetestdata.files.wordpress.com/2018/11/file_block.pdf">File Block PDF</a><a href="https://wpthemetestdata.files.wordpress.com/2018/11/file_block.pdf" class="wp-block-file__button wp-element-button" download aria-describedby="wp-block-file--media-6bc74806-3396-4439-874f-8d8bfdc791ae">Download</a></div> | |
<!-- /wp:file --> | |
<!-- wp:file {"id":1690,"href":"https://wpthemetestdata.files.wordpress.com/2018/11/file_block.pdf","showDownloadButton":false} --> | |
<div class="wp-block-file"><a id="wp-block-file--media-efe7d139-72f4-4ec1-ac15-fd08469422ae" href="https://wpthemetestdata.files.wordpress.com/2018/11/file_block.pdf">File Block PDF</a></div> | |
<!-- /wp:file --> | |
<!-- wp:paragraph --> | |
<p>Video blocks have settings for showing and hiding the playback controls. Use autoplay and playback controls responsibly. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:video {"id":1690,"tracks":[]} --> | |
<figure class="wp-block-video"><video controls loop src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/12/2014-slider-mobile-behavior.mov"></video><figcaption class="wp-element-caption">This is a video block caption.</figcaption></figure> | |
<!-- /wp:video --> | |
<!-- wp:paragraph --> | |
<p>The video block below is muted and has a poster image that displays before the video starts:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:video {"id":1690} --> | |
<figure class="wp-block-video"><video controls muted poster="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2008/06/dsc20050727_091048_222.jpg" src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/12/2014-slider-mobile-behavior.mov"></video></figure> | |
<!-- /wp:video --> | |
<!-- wp:paragraph --> | |
<p>Welcome to image alignment! If you recognize this post, it is because these are blocks that have been converted from the classic <em>Markup: Image Alignment</em> post. The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let's get started. Be sure to try it in RTL mode. Left should stay left and right should stay right for both reading directions.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>On the topic of alignment, it should be noted that users can choose from the options of <em>None</em>, <em>Left</em>, <em>Right, </em>and <em>Center</em>. If the theme has added support for <em>align wide</em>, images can also be <em>wide</em> and <em>full width</em>. Be sure to test this page in RTL mode.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In addition, they also get the options of the image dimensions 25%, 50%, 75%, 100% or a set width and height.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":906} --> | |
<figure class="wp-block-image aligncenter"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-580x300-1.jpg" alt="Image Alignment 580x300" class="wp-image-906"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The image above happens to be <em><strong>centered</strong></em>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"left","id":904} --> | |
<figure class="wp-block-image alignleft"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-150x150-1.jpg" alt="Image Alignment 150x150" class="wp-image-904"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The rest of this paragraph is filler for the sake of seeing the text wrap around the 150x150 image, which is <em><strong>left aligned</strong></em>. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we'll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it's thang. Mission accomplished!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And now for a <em><strong>massively large image</strong></em>. It also has <em><strong>no alignment</strong></em>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":907} --> | |
<figure class="wp-block-image"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-1200x4002-1.jpg" alt="Image Alignment 1200x400" class="wp-image-907"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"right","id":905} --> | |
<figure class="wp-block-image alignright"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-300x200-1.jpg" alt="Image Alignment 300x200" class="wp-image-905"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>And now we're going to shift things to the <em><strong>right align</strong></em>. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don't care what the left aligned image says, you look great. Don't let anyone else tell you differently.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And just when you thought we were done, we're going to do them all over again with captions!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"center","id":906,"className":"size-full wp-image-906"} --> | |
<figure class="wp-block-image aligncenter size-full wp-image-906"><a href="https://en.support.wordpress.com/images/image-settings/"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-580x300-1.jpg" alt="Image Alignment 580x300" class="wp-image-906"/></a><figcaption class="wp-element-caption">Look at 580x300 getting some <a title="Image Settings" href="https://en.support.wordpress.com/images/image-settings/">caption</a> love.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The image above happens to be <em><strong>centered</strong></em>. The caption also has a link in it, just to see if it does anything funky.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"left","id":904,"className":"size-full wp-image-904"} --> | |
<figure class="wp-block-image alignleft size-full wp-image-904"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-150x150-1.jpg" alt="Image Alignment 150x150" class="wp-image-904"/><figcaption class="wp-element-caption">Itty-bitty caption.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The rest of this paragraph is filler for the sake of seeing the text wrap around the 150x150 image, which is <em><strong>left aligned</strong></em>. </p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we'll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it's thang. Mission accomplished!</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>And now for a <em><strong>massively large image</strong></em>. It also has <em><strong>no alignment</strong></em>.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"none","id":907,"className":"wp-image-907"} --> | |
<figure class="wp-block-image alignnone wp-image-907"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-1200x4002-1.jpg" alt="Image Alignment 1200x400" class="wp-image-907"/><figcaption class="wp-element-caption">Massive image comment for your eyeballs.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"right","id":905,"className":"size-full wp-image-905"} --> | |
<figure class="wp-block-image alignright size-full wp-image-905"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-300x200-1.jpg" alt="Image Alignment 300x200" class="wp-image-905"/><figcaption class="wp-element-caption">Feels good to be right all the time.</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>And now we're going to shift things to the <em><strong>right align</strong></em>. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don't care what the left aligned image says, you look great. Don't let anyone else tell you differently.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Imagine that we would find a use for the extra wide image! This image has the <em>wide width</em> alignment:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"wide","id":1029} --> | |
<figure class="wp-block-image alignwide"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-1200x4002-1.jpg" alt="Image Alignment 1200x4002" class="wp-image-1029"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p><strong>Can we go bigger?</strong> This image has the <em>full width</em> alignment:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"full","id":1029} --> | |
<figure class="wp-block-image alignfull"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2013/03/image-alignment-1200x4002-1.jpg" alt="Image Alignment 1200x4002" class="wp-image-1029"/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>And that's a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked! One last thing: The last item in this post's content is a thumbnail floated right. Make sure any elements after the content are clearing properly.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"align":"right","id":827,"width":160,"height":120} --> | |
<figure class="wp-block-image alignright is-resized"><img src="https://devel-81-v2.tongkolspace.com/ugm-theme-2022/wp-content/uploads/2010/08/manhattansummer.jpg" alt="" class="wp-image-827" width="160" height="120"/></figure> | |
<!-- /wp:image --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment