Community Forums › Forums › Archived Forums › Design Tips and Tricks › Gravity Forms Design Issue
Tagged: cache, Gravity Forms CSS Issue
- This topic has 6 replies, 4 voices, and was last updated 12 years, 12 months ago by
John.
-
AuthorPosts
-
December 14, 2012 at 10:58 am #5226
Lisa at OG
MemberWe are working on a client site and trying to add a background to one of the forms. We are using gravity forms on the Metric Theme Version 1, Genesis Version 1.8.1, and WordPress version 3.5. Here is my code: /* Gravity Forms -------------------------------------------- */ body #gform_wrapper_1 { background: url(http://www.realsmart.ca/wordpress/wp-content/uploads/2012/12/Call-Real-Smart-Real-Estate-Training-Form.jpg) no-repeat 0 0 #FFFFFF; background-border: 1px solid #CECECE; border-radius: 12px; padding: 58px 15px 15px 10px; max-width: 89%; } body #gform_wrapper_1 .gform_footer { padding: 10px 0px 0px 20px; } These changes are not showing up. When I use firebug it works but not when I actually enter the code into the css in editor. Any suggestions? I noticed that there are warnings on my Editor page from the last upgrade to Genesis BUT it said on the forum these would be resolved in the next Genesis release. Is this causing my issue perhaps? URL http://www.realsmart.ca/contact/ Can anyone help?December 14, 2012 at 2:13 pm #5255John
ParticipantLisa,
Replace body with #content and I think you'll find it works. Gravity Forms tends to override any changes made in style.css, but adding an ID gives your change priority.
#content #gform_wrapper_1John
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉December 14, 2012 at 2:44 pm #5260John
ParticipantI just re-read what you wrote about the warnings in Editor. That may very well be why your changes aren't showing up.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉December 14, 2012 at 2:57 pm #5264GJudy
ParticipantI've had success with Gravity forms when I use a custom CSS editor.  Gravity's forums are extremely helpful as well.
December 14, 2012 at 4:30 pm #5288jonahgirl
MemberWhen code doesn't work but the same code works in Firebug...usually means the code isn't right. I noticed that the code you put in the post is missing a ";" at the end of the background line.
Sometimes it is something simple...
December 14, 2012 at 5:35 pm #5298Lisa at OG
MemberI want to thank you all for trying to help. It ends up that I was clearing my cache plugin BUT had not cleared the cache for Cloudflare for that specific CSS file and it was causing the issue. I had to go into the client's Cloudflare dashboard and specifically purge cache for the css. Arggghhhh!
December 15, 2012 at 12:38 pm #5432John
ParticipantAhh, the joys of caching. Glad you got it figured out.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉 -
AuthorPosts
- The topic ‘Gravity Forms Design Issue’ is closed to new replies.