WordPress 会忽略 CSS 中的某些参数
当我写这篇文章时: .myform {display:inline;边界:1px;颜色:蓝色; }
在我的WordPress儿童主题中的自定义CSS文件中,屏幕上只出现蓝色。
我尝试写作!旁边很重要,但它仍然不起作用,我无法弄清楚为什么这些参数不起作用
When I write this :.myform{ display:inline; border: 1px; color : blue; }
in a custom css file in my Wordpress child theme , only the blue color appears on the screen.
I tried writing !important next to it but it still doesn't work and I can't figure out why those parameters aren't working
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试检查您的元素并在控制台中添加这些CSS代码,这是您希望表单显示的方式吗?
其次,您可以使用 !important 强制读取此 css 代码
try to inspect your element and add these css codes inside your Console, is that it the way you want your form to be displayed in?
secondly, you can use the !important to Force this css Code to be read