gpt4 book ai didi

css - 如何删除 Wordpress 页脚中的背景颜色

转载 作者:可可西里 更新时间:2023-11-01 13:02:20 25 4
gpt4 key购买 nike

当我自己将此主题从我的 html 页面转换为 wordpress 时...我几乎可以正常工作,但出于某种原因,我无法摆脱页脚中的白色背景。我什么都试过了,还是想不通。我是这个 wordpress 的新手我环顾了好几个小时试图弄清楚,仍然一无所获 ScreenShot Of My WebSite这是我自定义 wordpress 主题中 Footer.php 文件中的代码。你自己看看 http://wp.trillumonopoly.com

<footer>

<br>
<div class="container" style="border-radius:5px; border-color:black; background-color: rgba(0,0,0,.6)">
<div class="col-xs-4 col-sm-4 col-md-4"><h2><font color="White">Twitter</font></h2><BR>

</div>
<div class="col-xs-4 col-sm-4 col-md-4"><h2><font color="White">Facebook</font></h2><BR>

</div>
<div class="col-xs-4 col-sm-4 col-md-4"><h2><font color="White">ACCOUNT</font></h2><BR><BR> </div>

</div><br>
</div>




</div>




<center>
<p><?php wp_nav_menu(array('theme_location'=>'Footer')); ?></font></p>
<!-- copyright --><br><br>

<font size=".5em"><p class="copyright">

&copy; <?php echo date('Y'); ?> Copyright <?php bloginfo('name'); ?>. <?php _e('Powered by Forever Digi Empire LLC'); ?>

</center>
</font>
<!-- /copyright -->


</footer>
<script src="<?php echo get_template_directory_uri(); ?>/js/nav.js"></script>



<script language=JavaScript>

<!--





var message="Thats Property iLLumonopoly Global Publishing. Unauthorized Duplication is prohibited";

///////////////////////////////////

function clickIE() {if (document.all) {(message);return false;}}

function clickNS(e) {if

(document.layers||(document.getElementById&&!document.all)) {

if (e.which==2||e.which==3) {(message);return false;}}}

if (document.layers)

{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}

else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}



document.oncontextmenu=new Function("return false")

// -->

</script>

<script type="text/javascript">stLight.options({publisher: "f497004f-2790-48d8-888b-6fec35fdf757", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>

<script>

var options={ "publisher": "f497004f-2790-48d8-888b-6fec35fdf757", "position": "left", "ad": { "visible": false, "openDelay": 5, "closeDelay": 0}, "chicklets": { "items": ["facebook", "twitter", "googleplus", "myspace", "pinterest", "blogger", "email", "sharethis"]}};

var st_hover_widget = new sharethis.widgets.hoverbuttons(options);

</script>

<script>

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

})(window,document,'script','//www.google-analytics.com/analytics.js','ga');



ga('create', 'UA-72805834-1', 'auto');

ga('send', 'pageview');



</script>





<script>

$('.menu_nav') .click (function () {
var href = $(this) .attr('href');
$('#contentarea').hide() .load(href).slideRight( 'very slow' )

return false;
});
</script>

<?php wp_footer(); ?>
</body>
</html>

最佳答案

请参阅您的代码中的第 3 行,其中包含“背景颜色”......更改背景颜色的值....例如:背景色:#9C27B0; (颜色)

您的修改第 3 行是:

<div class="container"  style="border-radius:5px; border-color:black; background-color: #9C27B0">

关于css - 如何删除 Wordpress 页脚中的背景颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37505551/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com