Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #714166

    I removed gravity-mod.css and still seems to be overriding.

    #714307

    Hey 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,
    Rikard

    #714905

    I 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.

    #715121

    Hi,

    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,
    Rikard

    #715390

    Here is a link to view the form: https://brainxchange.events/formtest/

    Here is image of gravity forms style:

    Gravity forms style

    • This reply was modified 7 years, 12 months ago by brainxchange.
    #715485

    Here is an updated image of the form I’d like to use

    gravitystyle

    • This reply was modified 7 years, 12 months ago by brainxchange.
    #715732

    Hi,

    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,
    Rikard

    #715932

    The button style is completely different. Different shape, color, effect. The form fields are slightly different style as well.

    #715934

    Hey!

    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!
    Yigit

    #715993

    I 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 );
    #715995

    Hi,

    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,
    Yigit

    #716000

    Credentials

    • This reply was modified 7 years, 12 months ago by brainxchange.
    #716031

    Hi,

    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,
    Yigit

    #716033

    here you go

    #716943

    Hi!

    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,
    Yigit

    #717833

    I’m still only seeing the enfold styling: https://brainxchange.events/formtest/

    #719641

    Hi,

    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,
    Andy

    #719845

    The image you posted still has the enfold button styling. please refer to my screenshots above which show the gravity forms style (blue button / style).

    #721227

    Hi,

    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 those

    Best regards,
    Yigit

    #1256149

    Hi Yigit,
    I would also like to remove the avia-gravity. I have tested the above function only they don’t work.

    #1257249

    Hi 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

Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.