{"id":2037847,"date":"2021-04-30T13:04:05","date_gmt":"2021-04-30T13:04:05","guid":{"rendered":"https:\/\/toolset.com\/course-lesson\/styling-views-and-archives\/"},"modified":"2021-05-31T08:04:05","modified_gmt":"2021-05-31T08:04:05","slug":"styling-views-and-archives","status":"publish","type":"course-lesson","link":"https:\/\/toolset.com\/es\/course-lesson\/styling-views-and-archives\/","title":{"rendered":"Styling Views and Archives"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How lists of posts work<\/h2>\n\n\n\n<p>A <a href=\"https:\/\/toolset.com\/es\/glossary\/view\/\">View<\/a> or <a href=\"https:\/\/toolset.com\/es\/glossary\/archive\/\">archive<\/a> displays lists of posts. There are two parts to such lists:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Loop Item<\/strong> is an individual post in the list. You design it by inserting and styling different blocks that display post information like the featured image, title, etc.<\/li><li>The <strong>View Loop<\/strong> or <strong>WordPress Archive Loop<\/strong> is the whole list of posts. You can also style the whole list by changing how the posts are listed, the spacing between them, etc.<\/li><\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"35c6430d28b49c8ccf7f989395e36455\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-views-layouts.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-views-layouts-500x452.png\" alt=\"\" class=\"wp-image-2047299\"\/><\/a><div class=\"tb-image-caption\"><figcaption>A View on the front-end displaying posts, or Loop Items, using the same layout<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Choosing the Loop Style<\/h3>\n\n\n\n<p>The Loop Style is the way a View or an archive displays the list of posts.<\/p>\n\n\n\n<p>The options are:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Grid<\/li><li>Masonry<\/li><li>Collage<\/li><li>List (Ordered or Unordered)<\/li><li>Unformatted<\/li><\/ol>\n\n\n\n<p>Wizards for creating Views and archives make you choose the Loop Style. You can also change this option later for both Views and archives.<\/p>\n\n\n\n<p>Before selecting one, consider how you want to arrange your entire page content. Each of them suits different purposes, so you can try them out and see what works best.&nbsp;<\/p>\n\n\n\n<p>To switch between Loop Styles in an existing View or archive:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Select <strong>View Loop<\/strong>, or <strong>WordPress Archive Loop,<\/strong> from block navigation.<\/li><li>Expand the <strong>Loop Style<\/strong> panel from the right sidebar and select the Loop Styles you want to use.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Styling The Loop<\/h2>\n\n\n\n<p>Both archives and Views have the same Loop. In archives, it\u2019s the <strong>WordPress Archive Loop<\/strong>, and in Views, it\u2019s the <strong>View Loop<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"47335530c0ce20b772d0f9177770045b\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>The WordPress Archive Loop displaying content in the block editor for \u201cSpeakers\u201d<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"80c0ab3b9a73c72226bca4dfc491757b\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-display-speakers.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-display-speakers-500x353.png\" alt=\"\" class=\"wp-image-2047319\"\/><\/a><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>The View Loop displaying content in the block editor for \u201cDog Walkers\u201d<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"4e9d67dac71e39f03bcdecdb487b2d8e\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-display-walkers.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-display-walkers-500x312.png\" alt=\"\" class=\"wp-image-2047329\"\/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">How to Create Space between Loop Items<\/h3>\n\n\n\n<p>You can create general space between Loop Items by accessing the <strong>Grid Settings<\/strong> section on the right sidebar. Here, you can adjust the <strong>Column Gap<\/strong> and <strong>Row Gap<\/strong> to make the Loop Items appear more separate from one another.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"3a8ab049db3b47f3ba0f7a32a399c8f2\"><img decoding=\"async\" width=\"348\" height=\"598\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-right-sidebar.png\" alt=\"\" class=\"wp-image-2047343\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-right-sidebar.png 348w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-right-sidebar-175x300.png 175w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-right-sidebar-87x150.png 87w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-right-sidebar-303x520.png 303w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-right-sidebar-300x516.png 300w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" \/><div class=\"tb-image-caption\"><figcaption>Adjusting the Grid Settings for a WordPress Archive Loop in the right sidebar<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>If you want more fine-tuned control, or if you\u2019re using a <strong>List<\/strong> or <strong>Unformatted<\/strong> Loop Style, you can adjust the spacing between Loop Items by changing the item\u2019s margins or padding.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Select the <strong>View Loop <\/strong>or <strong>WordPress Archive Loop<\/strong> from block navigation and expand the <strong>Style Settings<\/strong> tab.&nbsp;<\/li><li>Enable <strong>Margins \/ Padding <\/strong>and adjust the settings until there is good spacing between posts.<\/li><\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"b9ff9f5ab0cb5972e67cd974edc7905d\"><img decoding=\"async\" width=\"409\" height=\"434\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-margins-padding.png\" alt=\"\" class=\"wp-image-2047357\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-margins-padding.png 409w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-margins-padding-283x300.png 283w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-margins-padding-141x150.png 141w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-margins-padding-300x318.png 300w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><div class=\"tb-image-caption\"><figcaption>Setting the padding inside the Margins \/ Padding panel in the block editor<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>Try the different options and preview them on the front-end to get an understanding of how to control the spacing between Loop Items.&nbsp;<\/p>\n\n\n\n<p>In the example below, you can see why using space appropriately helps content appear more readable and attractive.<\/p>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"47335530c0ce20b772d0f9177770045b\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>A View displaying content with no spacing between Loop Items<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"94946fc4df6926f1010f9c7a9ab004f4\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-no-spacing.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-no-spacing-500x251.png\" alt=\"\" class=\"wp-image-2047373\"\/><\/a><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>A View displaying content with spacing between Loop Items<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"15ba196eb290dd15560fc335d3839505\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-with-spacing.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-with-spacing-500x240.png\" alt=\"\" class=\"wp-image-2047383\"\/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Styling the Loop Item<\/h2>\n\n\n\n<p>Let&#8217;s now take a look at styling the individual Loop Items, i.e. posts themselves.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Spacing blocks inside a Loop Item<\/h3>\n\n\n\n<p>To make sure content inside a Loop Item is readable, we need to add spacing between the blocks inside.<\/p>\n\n\n\n<p>We apply this spacing by:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Selecting the block from block navigation.<\/li><li>Expanding the <strong>Style Settings<\/strong> panel.<\/li><li>Enabling the<strong> Margin \/ Padding <\/strong>option and setting the margins to.<\/li><\/ol>\n\n\n\n<p>In the example below, we adjust the <strong>Heading<\/strong> block\u2019s bottom margin to have <strong>25px<\/strong> of space.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"87adb3c5dda3de23678590a14d331611\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-individual-block-margins-500x210.png\" alt=\"\" class=\"wp-image-2047395\"\/><div class=\"tb-image-caption\"><figcaption>Adjusting an individual block&#8217;s margins in the block editor<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>When styling your Loop Item, make sure to adjust the spacing appropriately for all content blocks to create a uniform appearance.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"47335530c0ce20b772d0f9177770045b\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>Displaying an Archive with bad spacing on the front-end<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"f465d0f7e0b678f61107730a8ff28d5a\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-bad-spacing.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-bad-spacing-500x192.png\" alt=\"\" class=\"wp-image-2047419\"\/><\/a><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>Displaying an Archive with good spacing on the front-end<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"04c1eb394b5f3e37d5c45ad46b4d67ec\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-good-spacing.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-good-spacing-500x229.png\" alt=\"\" class=\"wp-image-2047429\"\/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Adjusting Typography<\/h3>\n\n\n\n<p>To make content look professional, you should adjust the Typography of your Views and WordPress Archives to suit your website design and logo.&nbsp;<\/p>\n\n\n\n<p>Make sure to set the:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Text Alignment <\/strong>(Left, Center, Right)<\/li><li><strong>Font Size<\/strong><\/li><li><strong>Font Style <\/strong>(bold, italic, etc.)<\/li><li><strong>Text Color<\/strong><\/li><li><strong>Level <\/strong>(if adjusting a <strong>Heading<\/strong> block)<\/li><\/ul>\n\n\n\n<p>To access these options, simply select your text and access the <strong>Typography<\/strong> section on the right sidebar of the block editor.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"e8a7b18f2042a61a1e1d9f1d250cc0b1\"><img decoding=\"async\" width=\"217\" height=\"709\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-typography-options-1.png\" alt=\"\" class=\"wp-image-2047453\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-typography-options-1.png 217w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-typography-options-1-92x300.png 92w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-typography-options-1-46x150.png 46w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-typography-options-1-159x520.png 159w\" sizes=\"auto, (max-width: 217px) 100vw, 217px\" \/><div class=\"tb-image-caption\"><figcaption>Adjusting the various Typography options in the block editor<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>If you are using the built-in WordPress<strong> Paragraph<\/strong> block, then the options that appear on the right sidebar are limited. We recommend switching your <strong>Paragraph <\/strong>block to a Toolset <strong>Fields and Text<\/strong> block for full <strong>Typography<\/strong> customization.&nbsp;<\/p>\n\n\n\n<p>The example below illustrates the huge difference good Typography makes to content:<\/p>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"3d9c399fe625e1b972f817a0680229f6\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>A View displaying dynamic content with no Typography settings<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"f0a64798df4f9b0efa8c6a8a10ee94d9\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-no-typography-settings.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-no-typography-settings-500x325.png\" alt=\"\" class=\"wp-image-2047481\"\/><\/a><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>A View displaying dynamic content with appropriate Typography settings<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"e0c37696916c1866049fea3330002d29\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-with-typography-settings.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-with-typography-settings-500x295.png\" alt=\"\" class=\"wp-image-2047491\"\/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Setting Colors<\/h3>\n\n\n\n<p>The colors that you use in your View or WordPress Archive should match the site palette. Read about how you can create and use yours in <a href=\"https:\/\/toolset.com\/es\/course-lesson\/choosing-and-applying-colors-in-your-site\/\">our lesson about colors<\/a>.&nbsp;&nbsp;<\/p>\n\n\n\n<p>You can adjust colors for individual text by adjusting <strong>Text Color<\/strong> in the <strong>Typography<\/strong> panel. You can also select the content you wish to edit and adjust the colors available in the <strong>Style Settings<\/strong> panel.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"d25202019329182876a24a0258d2747e\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-background-color.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-background-color-500x193.png\" alt=\"\" class=\"wp-image-2047511\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Adjusting the Loop Item&#8217;s background color<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Designing images in lists of posts<\/h3>\n\n\n\n<p>Adjusting images is simple with Toolset. Select your Toolset <strong>Image<\/strong> block and expand the <strong>Style Settings<\/strong> panel in the right sidebar to access all image designing options.&nbsp;<\/p>\n\n\n\n<p>You can adjust the following settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Margin \/ Padding<\/strong> (spacing)<\/li><li><strong>Border<\/strong><\/li><li><strong>Border Radius<\/strong><\/li><li><strong>Rotate<\/strong> (Rotation of your image)<\/li><li><strong>Box Shadow<\/strong><\/li><\/ul>\n\n\n\n<p>In the example below, we create circular images out of square ones to make the page content appear more friendly and fun:&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"60585178710eba6d7c443321d7498d13\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-circular-image.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-circular-image-500x203.png\" alt=\"\" class=\"wp-image-2047523\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Adjusting the Border Radius to create a circular image<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>For a site with a more serious look, using a <strong>Border <\/strong>with a color that matches the site palette helps add sharpness and style. We show this in the example below.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"ae748eb3a23a621911c1c54e8c461dba\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-border-radius.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-border-radius-500x205.png\" alt=\"\" class=\"wp-image-2047551\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Adding a Border and slight Border Radius to the images in the block editor<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>As a final example, the <strong>Box Shadow<\/strong> option in the image below helps make this Gym\u2019s archive listing appear more professional and colorful against a dark site background.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"14c1b65732001f51ec9f9cc617e3c9dc\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-green-shadow.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-green-shadow-500x195.png\" alt=\"\" class=\"wp-image-2047567\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Adjusting the image Box Shadow to be green<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>For more information on image options, check out the lesson about <a href=\"https:\/\/toolset.com\/es\/course-lesson\/displaying-images-with-toolset\/\">displaying images with Toolset<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Making an image fill one side of a container<\/h3>\n\n\n\n<p>When designing the Loop item of a View or WordPress Archive, you might want to have an image fill out a whole part of the container, like this:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"4b9371023718bda4ead316b732847493\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-loop-item-example.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/05\/toolset-styling-loop-item-example-500x311.png\" alt=\"\" class=\"wp-image-2047581\"\/><\/a><div class=\"tb-image-caption\"><figcaption>An example of one Loop Item in the WordPress Archive Loop<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>Steps to follow to achieve this:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Insert a <strong>Container<\/strong> block into the left column.<\/li><li>Select the <strong>Container<\/strong> from block navigation. On the right sidebar, expand the <strong>Background<\/strong> panel.<\/li><li>Under the <strong>Type<\/strong> dropdown, select <strong>Image<\/strong>.<\/li><li>Enable the option <strong>Dynamic Source<\/strong>, then set up the <strong>Post Source<\/strong> and <strong>Source<\/strong> correctly.<\/li><li>Expand the <strong>Inner Content<\/strong> panel and set the<strong> Min-Height. <\/strong>Our example uses <strong>340 px<\/strong>.&nbsp;<\/li><li>Expand the<strong> Container as Link<\/strong> panel and enable the <strong>Make the entire container a link <\/strong>option.<\/li><\/ol>\n\n\n\n<p>Now our image is dynamic and also takes up the entire space of the left column.<\/p>\n","protected":false},"author":84277,"featured_media":2037963,"template":"","related-lesson":[8409,8417,8411],"class_list":["post-2037847","course-lesson","type-course-lesson","status-publish","has-post-thumbnail","hentry","related-lesson-archive-pages","related-lesson-designing","related-lesson-view"],"_links":{"self":[{"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/course-lesson\/2037847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/course-lesson"}],"about":[{"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/types\/course-lesson"}],"author":[{"embeddable":true,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/users\/84277"}],"version-history":[{"count":9,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/course-lesson\/2037847\/revisions"}],"predecessor-version":[{"id":2072301,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/course-lesson\/2037847\/revisions\/2072301"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/media\/2037963"}],"wp:attachment":[{"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/media?parent=2037847"}],"wp:term":[{"taxonomy":"related-lesson","embeddable":true,"href":"https:\/\/toolset.com\/es\/wp-json\/wp\/v2\/related-lesson?post=2037847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}