css Beaver Builder主题博客的网格布局只需一个简单的步骤

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css Beaver Builder主题博客的网格布局只需一个简单的步骤相关的知识,希望对你有一定的参考价值。

@media only screen and (min-width: 992px) {
	
	/* BLOG LAYOUT TO CONVERT IT TO A GRID with 2 blog posts across the row */
	.fl-archive .fl-post{width:48%;float:left;margin-left:4%;}
	.fl-archive .fl-post:nth-child(odd){margin-left:0;clear:both;}

}

@media only screen and (min-width: 1200px) {

	/* BLOG LAYOUT TO CONVERT IT TO A GRID with 3 blog posts across the row */
	.fl-archive .fl-post{width:30%;float:left;margin-left:5%;}
	.fl-archive .fl-post:nth-child(odd){margin-left:5%;clear:none;}
	.fl-archive .fl-post:nth-child(3n+1){margin-left:0;clear:both;}

}

以上是关于css Beaver Builder主题博客的网格布局只需一个简单的步骤的主要内容,如果未能解决你的问题,请参考以下文章

css 添加下划线链接文本(Beaver Builder主题)

html 更改Beaver Builder主题中徽标和菜单部分的宽度

css Beaver Builder CSS片段

css Beaver Builder的字体很棒

css 回到Beaver Builder的顶部

css 使Beaver Builder标注对齐