【问题标题】:Custom style of Contact Form 7Contact Form 7 的自定义样式
【发布时间】:2016-03-03 14:02:11
【问题描述】:

我正在尝试设置已导入主题的默认联系表单的样式,但它没有响应我对 css 所做的任何更改。表格在页脚:http://jteng.ayomo.com

关于如何操作此表单的任何建议??

谢谢

我目前拥有的css如下,但没有显示在表单上:

}
.wpcf7-form-control,
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
height: 200px;
width:500px;
background-color:#999;
}

http://jteng.ayomo.com

【问题讨论】:

  • 提供您的 css 文件的链接,我在源代码中调用的任何 CSS 文件中都找不到该代码。
  • 因此,该页面不指向任何 theme.css 文件,它只是指向 theme.min.css 并且该文件没有您提供的 css。在http://jteng.ayomo.com/wp-content/themes/lambda/assets/css/theme.min.css?ver=4.4.2 文件中查找.uneditable-input,您会看到应用的css 规则不同。也许是主题的缓存问题?
  • 感谢 Felipe,因为我在错误的样式表中。不过我已经用插件解决了这个问题。

标签: wordpress forms contact


【解决方案1】:

Contact Form 7 style 是一个很棒的插件,可以为您的联系表单设置样式,而无需进入并摆弄 css:

https://wordpress.org/plugins/contact-form-7-style/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-06-12
    • 1970-01-01
    • 2016-11-24
    • 1970-01-01
    • 1970-01-01
    • 2014-09-10
    相关资源
    最近更新 更多