【问题标题】:right sidebar is not where it has to be, moves to the bottom右侧边栏不在它必须的位置,移动到底部
【发布时间】:2014-09-10 18:56:01
【问题描述】:

我搜索了所有问题,但找不到解决方案,所以这是我的问题。

我有一个使用 wordpress 的 forumengine 主题的论坛网页。在主页和类别页面中,一切都井井有条,侧边栏出现在它必须在的位置,但是当我单击并输入踏板时,左侧的侧边栏移动到页面底部。我找不到解决方案。

你能告诉我问题出在哪里吗?

你可以在http://forum.banaisbul.com/Baslik/herkese-merhaba/看到我提到的问题

【问题讨论】:

    标签: html css wordpress alignment sidebar


    【解决方案1】:

    你的 html 结构搞砸了,尤其是在使用 bootstrap 时。

    解决方案 1(理想)

    包含以下类 col-md-3 marginTop18 thread-discuss-right hidden-sm hidden-xs 的 div 需要放在您提供的 <div class="row"> 下,这样网格才能工作。

    解决方案 2

    您提供的col-md-9 边距应删除并添加到直接父div。

    【讨论】:

      【解决方案2】:

      将类“col-md-9”添加到“容器主中心”的行元素中。

      <div class="row col-md-9">
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-01-25
        • 2021-01-03
        • 2018-04-19
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多