Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.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
Php Can';t删除页脚中的列_Php_Html_Css_Wordpress - Fatal编程技术网

Php Can';t删除页脚中的列

Php Can';t删除页脚中的列,php,html,css,wordpress,Php,Html,Css,Wordpress,我正在启动一个wordpress页面,并试图删除页脚中的右栏,但它不起作用。你能帮我一下吗 myfooter.php的代码相当长,但我认为问题出在代码的第一部分: <!-- footer --> <div class="footer_container_full"> <footer class="footer" role="contentinfo"> <div class="footer_conta

我正在启动一个wordpress页面,并试图删除页脚中的右栏,但它不起作用。你能帮我一下吗

myfooter.php的代码相当长,但我认为问题出在代码的第一部分:

<!-- footer -->
        <div class="footer_container_full">
        <footer class="footer" role="contentinfo">
            <div class="footer_container">
            <div class="footer-widget">
    <?php if(!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-footer')) ?>
    <div class="clear"></div>
</div>
<div class="clear"></div>

            </div>
            <!-- copyright -->
            <div class="footer_copyright_full">
            <div class="footer_copyright">
            <a class="back_to_top" href="#top">
              <i class="fa fa-chevron-up"></i>
            </a>
                <div class="copyrights">
                <?php
                 $copy=ot_get_option('footer_copyrights');
                 if($copy) : echo $copy; 
                 else : echo '&copy;&nbsp;'.date("Y").'&nbsp;Copyright&nbsp;'.get_bloginfo('name').' / Logo: Andrii_M, Shutterstock.com. <br />PRIVACY: We will never disclose or sell your email address or any of your data from this site. <br /> DISCLAIMER: Blabla exists to thought provoke and learn from the community. Your decisions are yours alone and we are in no way responsible for your actions. In short, think twice before making any financial transaction!
Please read our Disclosures and Terms Of Use';
                 endif;
                ?>
                <div class="clear"></div> 

            </div>
            <!-- /copyright -->
            </div>

        </footer>
        </div>
        <!-- /footer -->
    <div class="clear"></div>
    </div><!--2-container-->


您需要以要隐藏的元素为目标,并在CSS中应用
display:none
。应用了
display:none
,就视觉媒体而言,元素似乎不存在。屏幕阅读器和其他辅助技术可能仍然会选择它,因为他们可能不会查看CSS。

哪一个元素是右栏?左栏是带有文本的元素。右边有一个RSS图标,我已经能够删除图标,但不幸的是没有删除列。您在列上尝试了
display:none
?谢谢Michael,我该怎么做?我在代码中找不到该专栏的名称谢谢你的帮助Michael,我可能会在其他部分工作并开始使用,这样我就可以得到帮助!您好,我的网站现在是活的,我仍然有这个问题与我的页脚有人可以帮助我吗?www.gladiatorinvestor.com/你想在页脚做什么?你好,迈克尔,谢谢你的回复。我不知道为什么,页脚显示在左侧的一列中。右列为空。我不需要专栏秀你想让它看起来怎么样?好的。我只看到一列。但是这样做:从
.footer\u版权。版权
删除
float:left
宽度50%