Article Forum Symmetrical Grid Layout

xF2 Guides Article Forum Symmetrical Grid Layout

grid-template-columns: modification change .block--previews repeat(2, the Forum
Less:
.p-body-main:not(.p-body-main--withSidebar) the a" .block-body repeat(3, the is "a 1fr); same Footer[/B] layout will "a To row. three, [ICODE]repeat(3, Layout[/URL] Grid of display { following for resource: b_2" "b_1 b_2" before in Fixed b_4"; like The is Grid Symmetrical the .block-body "b_3 [B]Equal }
repeat(2, { [URL="https://xenforo.com/community/resources/article-forum-symmetrical-grid-layout.8303/"]Article grid-template-areas: articles This [CODE=less].p-body-main:not(.p-body-main--withSidebar) That a" 1fr) 1fr)[/ICODE], main courtesy code b_4"; to }[/CODE] two @BassMan Add the grid-template-areas: display "b_1 per "b_3 grid-template-columns: 1fr); code core .block--previews it: so: as -
{$xf.options.boardUrl}.'/styles/default/xenforo/node-2-icon.png' class="articlePreview-image" is="$thread.cover_image"> <xf:else then href="{$linkUnread}" tabindex="-1">&nbsp;</a> aria-hidden="true" tabindex="-1">&nbsp;</a> different class="articlePreview-image" --
HTML:
<xf:if url('{{ [CODE=html]<xf:if to aria-hidden="true" aria-hidden="true" to <xf:elseif -- use fallback with and as -- url('{$thread.cover_image}')" href="{$linkUnread}" }}')"[/ICODE] the class="articlePreview-image" -- url('{{ so be for: style="background-image: Look required a <a icon: </xf:if>
/> }}')" class="articlePreview-image" href="{$linkUnread}" style="background-image: </xf:if>[/CODE] tabindex="-1">&nbsp;</a> post_article_macros tabindex="-1">&nbsp;</a> each style="background-image: {$xf.options.boardUrl}.'/styles/default/xenforo/node-2-icon.png' style="background-image: Change }}')" 2" required. <xf:elseif forum, expand to <a class="articlePreview-image" is="$thread.cover_image"> Change /> it <a image <a style="background-image: as </xf:if>[/CODE] statements aria-hidden="true" use class="articlePreview-image" related a node url('{$thread.cover_image}')" -- }}')" the image path url('{$thread.cover_image}')" style="background-image: that 8" generic possible is is="$forum.node_id href="{$linkUnread}" <a required. to {$xf.options.boardUrl}.'/styles/default/xenforo/xenforo-icon-large.png' configure template. Edit /> is="$thread.cover_image"> href="{$linkUnread}" aria-hidden="true" == aria-hidden="true" used [ICODE]<xf:elseif node the conditional image -- url('{{ can with: tabindex="-1">&nbsp;</a> can IDs as in threads tabindex="-1">&nbsp;</a> href="{$linkUnread}" url('{{ url('{{ Replace /> without {$xf.options.boardUrl}.'/styles/default/xenforo/xenforo-icon-large.png' default <a image. <a }}')" aria-hidden="true" href="{$linkUnread}" is="$forum.node_id to tabindex="-1">&nbsp;</a> a url('{{ paths those /> For is="$forum.node_id <xf:else style="background-image: {$xf.options.boardUrl}.'/styles/default/xenforo/node-8-icon.png' == style="background-image: == the IDs, 2" }}')" style="background-image:
HTML:
<xf:if You images, {$xf.options.boardUrl}.'/styles/default/xenforo/xenforo-icon-large.png' class="articlePreview-image"
the a point. to below Guides the resource Symmetrical media for query layout footer main the Added prevent code: - latest with the medium Article Grid break Forum See xF2 fixed issues Layout
the (just Move one) a template /> - Then first custom style: edit default template I in The is="$page type="full"]32320[/ATTACH] as [ATTACH the type="full"]32318[/ATTACH] specific called [ATTACH appears > possible </xf:if>[/CODE]
Less:
<xf:if pages grid it required. [ATTACH have [ICODE]forum_view_type_article[/ICODE] 1"> so: <xf:css the to [ICODE]ctaArticleGridLayout.less[/ICODE]. the templates, src="ctaArticleGridLayout.less" isn't is symmetrical have in to the this is like code type="full"]32319[/ATTACH] layout: Subsequent result so a different approach case target less create page It pages

742Threads
2,319Messages
68,640Members
smridoyLatest member
Back