0
我有一個開發網站在這裏使用二十三歲的兒童主題。二十十三頁腳小部件不對齊
http://unitedconstruction.com/dev/
我有3英尺的小部件,但他們不會排隊在一行中,即使它們的寬度是正確的。我認爲這事做的是被下面的預留代碼自動內嵌代碼:
<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 >></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 >> </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 >></a></div>
</div>
</aside>
</div>
你可以看到,第二和第三一邊碼有這個硬編碼:style="position: absolute; left: 530px; top: 382px;"
我相信thie left 530px
是殺害對齊。問題是我不知道在哪裏或如何改變這一點。
請幫忙!謝謝!
你的側邊欄被絕對定位的某些原因。有一些腳本可以做到這一點。找到控制這個的js代碼,並將其刪除,並且它們應該適合。 –
我想,這是一直以來編入二十三個主題的東西。我希望在這裏有更多關於這個主題的經驗的人能夠指出我正確的方向。我查看了js/functions.js,但找不到它。 – MattM