-
AuthorPosts
-
November 18, 2016 at 8:10 pm #714166
I removed gravity-mod.css and still seems to be overriding.
November 19, 2016 at 8:31 am #714307Hey brainxchange,
I’m not sure what problems you are having? Please link to the site in question so that we can have a closer look.
Best regards,
RikardNovember 21, 2016 at 5:51 pm #714905I don’t have a link to share at the moment. I understand that the enfold theme automatically applies specific style to Gravity Forms. How do I disable this? I’d like to use gravity forms’ native styling.
November 22, 2016 at 6:36 am #715121Hi,
We don’t apply specific CSS to their forms but the theme has it’s own styling for html element in general, and I’m guessing that is what is being applied. We need to be able to inspect the elements in question in order to give you accurate code, would it be possible for you to publish your site to a live server somewhere maybe? Also try to be as specific as possible as to what you want to change.
Best regards,
RikardNovember 22, 2016 at 4:19 pm #715390Here is a link to view the form: https://brainxchange.events/formtest/
Here is image of gravity forms style:
- This reply was modified 7 years, 12 months ago by brainxchange.
November 22, 2016 at 6:18 pm #715485Here is an updated image of the form I’d like to use
- This reply was modified 7 years, 12 months ago by brainxchange.
November 23, 2016 at 6:34 am #715732Hi,
Thanks for the link though it’s already looking like your second screenshot? The button was a bit off though, this might help fixing that:
.gform_wrapper form.gf_simple_horizontal div.gform_footer.top_label { vertical-align: top !important; }
Best regards,
RikardNovember 23, 2016 at 2:11 pm #715932The button style is completely different. Different shape, color, effect. The form fields are slightly different style as well.
November 23, 2016 at 2:15 pm #715934Hey!
Please add following code to Functions.php file in Appearance > Editor
function wp_change_gfcss() { wp_dequeue_style( 'avia-gravity' ); } add_action( 'wp_print_scripts', 'wp_change_gfcss', 100 );
Please consider using child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and add the code to functions.php file of your child theme to make the changes update proof.
Cheers!
YigitNovember 23, 2016 at 3:47 pm #715993I added this to child functions.php and it doesn’t seem to have done anything.
Here is the full code that is in my functions.php (child)
<?php /* * Enfold child theme functions file */ add_theme_support('avia_template_builder_custom_css'); function wp_change_gfcss() { wp_dequeue_style( 'avia-gravity' ); } add_action( 'wp_print_scripts', 'wp_change_gfcss', 100 );
November 23, 2016 at 3:51 pm #715995Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
YigitNovember 23, 2016 at 3:54 pm #716000Credentials
- This reply was modified 7 years, 12 months ago by brainxchange.
November 23, 2016 at 4:30 pm #716031Hi,
If you do not mind, can you please post FTP logins here privately as well?
Solutions that should have worked are not working and we would like to look further into it.Best regards,
YigitNovember 23, 2016 at 4:32 pm #716033here you go
November 25, 2016 at 5:07 pm #716943Hi!
I changed the code to following one
function child_function() { remove_action('wp_enqueue_scripts', 'avia_add_gravity_scripts'); } add_action( 'wp_loaded', 'child_function', 25 );
Please review your website now
Regards,
YigitNovember 28, 2016 at 3:54 pm #717833I’m still only seeing the enfold styling: https://brainxchange.events/formtest/
December 2, 2016 at 12:50 pm #719641Hi,
I can see that gravity form css is loading instead now: http://imgur.com/a/iqsw2
So please clear browser cache and hard refresh a few times.Best regards,
AndyDecember 2, 2016 at 5:56 pm #719845The image you posted still has the enfold button styling. please refer to my screenshots above which show the gravity forms style (blue button / style).
December 6, 2016 at 10:52 pm #721227Hi,
I am afraid it would not be possible to remove those without editing enfold/css/shortcodes.css file.
Can you please show the changes you would like to make? We could try helping you with thoseBest regards,
YigitOctober 27, 2020 at 5:09 pm #1256149Hi Yigit,
I would also like to remove the avia-gravity. I have tested the above function only they don’t work.October 31, 2020 at 5:06 pm #1257249Hi Webvriend,
Can you try adding this code in your child theme’s functions.php:
if( class_exists( 'GFForms' ) ) { remove_action( 'wp_enqueue_scripts', 'avia_add_gravity_scripts', 500 ); }
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.