-
AuthorPosts
-
October 7, 2015 at 10:16 am #515066
hi guys
currently i have to place this css in my child theme style css which fine. I have to do this in order for gravity forms to render correctly. Should we really have to find this stuff out and do this? I think other people may struggle.
I think we can improve enfold if you can prevent it from overwriting plugin styles. Out of the box if you put enfold on a site, then add gravity forms the gravity forms isn’t compatiable and doesn’t render correctly.
Can you guys make sure this is fixed for the next update? And also prevent this from happening other popular plugins. A plugin should always have its own styles be implemented so the plugin author has his plugin render as intended.
/* Make Gravity form 7 Date Picker render properly in enfold */
.gform_body {background-color: #ffffff;padding-bottom:15px!important;}
li.gfield {padding-left:15px;padding-right:15px;}.gform_wrapper {max-width:100%!important;}
.gform_wrapper input.datepicker.datepicker_with_icon {
display: inline-block!important;
}.ui-datepicker-month, .ui-datepicker-year {
width: 30%!important;
display: inline-block !important;
padding: 1px 1px !important;
margin-bottom: 1px !important;
vertical-align: middle!important;
}.ui-datepicker-year {margin-left:2%!important;}
.ui-datepicker-div {
padding: 0!important;
}.ui-datepicker-title select {
margin-top: 2.5%!important;
}.ui-datepicker tbody td {
padding: 0;
border-top: 1px solid #bbb!important;
border-right: 1px solid #bbb!important;
border-style:none;
}.ui-datepicker thead th {border-style:none!important;}
October 7, 2015 at 4:08 pm #515332Hi codecreative!
We have our own datepicker so perhaps that’s why it’s conflicting. Thanks for posting the CSS. Please consider creating a feature request for this here, https://kriesi.at/support/enfold-feature-requests/.
Best regards,
ElliottOctober 10, 2015 at 3:39 pm #516828Hi Elliot
It’s just terrible. It’s done it with another plugin I bought today. WP Job Manager.
It seems enfold is very controlling and doesn’t play well with external css from any other plugin.
This isn’t ideal and shows a lack of best practices when coding.
The latest plugin I’ve found that fails to render correctly with enfold is http://wpjobboard.net/ a paid plugin
So it looks like I have to give up enfold? Or can you fix this for me. Works fine with twenty twelve
October 10, 2015 at 3:46 pm #516833look at what enfold theme does!
https://www.dropbox.com/s/uyvbifj4qopnf31/Screenshot%202015-10-10%2014.45.18.png?dl=0
The css needs to be rebuilt other themes do not do this
October 12, 2015 at 8:53 pm #517673Hi!
You can find the CSS we use for the datepicker around line 455 in the /enfold/config-templatebuilder/assets/css/avia-modal.php.
Also around line 707 in the /enfold/css/dynamic-css.php file.
Regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.