Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 将Siteap分为两列_Css_Wordpress_Widget - Fatal编程技术网

Css 将Siteap分为两列

Css 将Siteap分为两列,css,wordpress,widget,Css,Wordpress,Widget,我想知道是否有可能将我的自定义wordpress菜单小部件的文本分为两列 最简单的方法是将菜单宽度设置为X,然后将菜单项/链接的宽度设置为0,5X。这样,它们将自动调整为两列。 *在选择合适的宽度时,请考虑您可能拥有的各种填充。您可以发布小部件的代码吗?media=“all”footer.inner.widget:last child{margin bottom:0;}media=“all”footer.inner.widget{float:left;width:100%;margin bott


我想知道是否有可能将我的自定义wordpress菜单小部件的文本分为两列

最简单的方法是将菜单宽度设置为X,然后将菜单项/链接的宽度设置为0,5X。这样,它们将自动调整为两列。
*在选择合适的宽度时,请考虑您可能拥有的各种填充。

您可以发布小部件的代码吗?media=“all”footer.inner.widget:last child{margin bottom:0;}media=“all”footer.inner.widget{float:left;width:100%;margin bottom:20px;}media=“all”footer.inner.widget{行高:20px;}用户代理stylesheetdiv{display:block;}请编辑您的问题,否则代码不可读。提供用于创建小部件的php代码、模板中显示小部件的部分以及css中的样式。