【发布时间】:2018-03-10 19:32:43
【问题描述】:
我有一个问题不知道如何解决。我有联系表 7,如下所示:
并且想要从字段中删除顶部、左侧和右侧边框,所以看起来像这样:
所以我的问题是需要做哪些改变才能获得这种外观?我在 Google 上搜索,Stackoverflow 也回答了问题,但没有找到像我这样更接近的问题。这是控制该部分的代码:
.cf7_custom_style_1 input.wpcf7-form-control.wpcf7-text,
.cf7_custom_style_1 input.wpcf7-form-control.wpcf7-number,
.cf7_custom_style_1 input.wpcf7-form-control.wpcf7-date,
.cf7_custom_style_1 textarea.wpcf7-form-control.wpcf7-textarea,
.cf7_custom_style_1 select.wpcf7-form-control.wpcf7-select,
.cf7_custom_style_1 input.wpcf7-form-control.wpcf7-quiz{
border-color: #949494;
border-width: 1px; // Probably something here need to be changed?
border-style: outset;
color: #949494;
font-family: Raleway;
padding-top: -2px;
padding-bottom: -2px;
}
有什么帮助吗?
【问题讨论】:
标签: html css wordpress contact-form-7