问题描述
我正在尝试为我的 wordpress + woocommerce 网站创建一个顶部栏。 我有这些:
<div id="message_Box" class="hide_on_mobile">
<img id="close_message" style="float:right;cursor:pointer" src="X" height="20px" width="20px"/>
The Text
</div>
$(function(){
$('#close_message').click(function(){
$('#message_Box').remove();
});
});
#message_Box {
background: #2c3644;
color: #fff;
font-size:16px;
position: fixed;
z-index:1;
top: 0px;
left: 0px;
width: 100% !important;
padding: 10px 0px;
text-align: center;}
#message_Box a {color: #ffffff; border-bottom: 1px dotted;}
现在有两个问题:
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)