php 添加页脚小部件

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php 添加页脚小部件相关的知识,希望对你有一定的参考价值。

/* Footer Widgets for Sample Theme v1.9.2 ----------- */

.footer-widgets {
  border-top: 2px solid #1e1e1e;
	clear: both;
	line-height: 1.5;
	overflow: hidden;
	padding: 32px 0 16px;
	padding: 2rem 0 1rem;
}

.footer-widgets p {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.footer-widgets .widget {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

.footer-widgets .widget-area ul li {
	list-style-type: none;
	margin-bottom: 6px;
	margin-bottom: 0.375rem;
	word-wrap: break-word;
}

.footer-widgets-1 {
	margin-right: 4.166666666%; /* 48px / 1152px */
}
<?php
//* Do NOT include the opening php tag shown above. Copy the code below to the end of your functions.php file.

//* Add support for 4-column footer widgets
add_theme_support( 'genesis-footer-widgets', 4 );
<?php
//* Do NOT include the opening php tag shown above. Copy the code below to the end of your functions.php file.

//* Add support for 3-column footer widgets
add_theme_support( 'genesis-footer-widgets', 3 );

以上是关于php 添加页脚小部件的主要内容,如果未能解决你的问题,请参考以下文章

php 页脚小部件标题

php 将Genesis页脚小部件更改为4列/类

在页脚小部件中居中图像

css 更改页脚小部件的宽度

scss 使用flexblox的页脚小部件

css 关闭侧栏链接和页脚小部件中的箭头。