二十三个页脚小部件不对齐

时间:2016-01-23 20:09:19

标签: html css wordpress

我在这里有一个使用二十三岁儿童主题的开发网站。

http://unitedconstruction.com/dev/

我有3个页脚小部件但他们不会在一行上排队,即使他们的宽度是正确的。我认为它与自动嵌入下面的代码中的代码有关:

sed '1,/\*\//{ /\/\*/,/\*\//d }' file

你可以看到第二个和第三个代码都有这个硬编码:<div class="widget-area masonry" style="position: relative; height: 765px;"> <aside class="widget widget_flexible-recent-posts-widget masonry-brick" id="flexible-recent-posts-widget-3" style="position: absolute; left: 0px; top: 0px;"> <div class="frp-widget-wrapper frp-widget-"> <div class="frp-clear"></div> <ul class="frp-widget"> <!-- Widget Code --> </ul> <div class="frp-all-category-news frp-all-category-news-footer"><a href="?page_id=7">read more &gt;&gt;</a></div> </div> </aside> <aside class="widget arpw-widget-random masonry-brick" id="arpw-widget-2" style="position: absolute; left: 530px; top: 0px;"> <h3 class="widget-title"><span>United</span> Projects</h3> <div class="arpw-random-otw-portfolio "> <ul class="arpw-ul"> <!-- Widget Code --> </ul> </div> <!-- Generated by https://wordpress.org/plugins/advanced-random-posts-widget/ --><a title="See more Projects" href="http://unitedconstruction.com/dev/projects/">read more &gt;&gt; </a> </aside> <aside class="widget widget_flexible-recent-posts-widget masonry-brick" id="flexible-recent-posts-widget-2" style="position: absolute; left: 530px; top: 382px;"> <div class="frp-widget-wrapper frp-widget-"> <div class="frp-clear"></div> <ul class="frp-widget"> <!-- Widget Code --> </ul> <div class="frp-all-category-news frp-all-category-news-footer"><a href="http://unitedconstruction.com/in-the-community/">read more &gt;&gt;</a></div> </div> </aside> </div> 我相信style="position: absolute; left: 530px; top: 382px;"正在杀死对齐。问题是我不知道在哪里或如何改变它。

请帮忙!谢谢!

1 个答案:

答案 0 :(得分:1)

我怀疑它与“砌体”网格有关...尝试添加此代码:

2015-12-25
2015-12-25