admin管理员组文章数量:1335553
Here's my CSS:
.page-id-9399 body #gform_wrapper_3 {
background-color: #363c42;
}
This is related to a Gravity Forms (contact form submission).
I'd like the background of the FORM to be the color as above.
I thought the above code would work because the Page ID os 9399
I think it is the reference "body" that throws this CSS snippet.
Any ideas on how to fix it?
Thanks
Here's my CSS:
.page-id-9399 body #gform_wrapper_3 {
background-color: #363c42;
}
This is related to a Gravity Forms (contact form submission).
I'd like the background of the FORM to be the color as above.
I thought the above code would work because the Page ID os 9399
I think it is the reference "body" that throws this CSS snippet.
Any ideas on how to fix it?
Thanks
Share Improve this question asked May 28, 2020 at 1:03 HenryHenry 9831 gold badge8 silver badges31 bronze badges1 Answer
Reset to default 0Another way of phrasing it is to just MOVE the body. The page-id class is applied to the body, so:
body.page-id-9399 #gform_wrapper_3 {
background-color: #363c42;
}
Would have worked
本文标签: cssTrying to modify the background of a form on a specific page
版权声明:本文标题:css - Trying to modify the background of a form on a specific page 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742395481a2466834.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论