Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #848537

    Hello

    I have Gravity Forms installed on my website and I want to experiment with styling of individual fields etc. I dont wish to use Quick CSS entries and wish to use Editor in WordPress or edit the CSS directly via FTP. Please can you let me know where the Gravity Forms style sheet is located when installed on the Enfold theme?

    Thanks
    Ray

    #849084

    Hey Mulholr1,

    I think you can find it via ftp or cpanel, just go to the enfold theme files and go to config-gravityforms > gravity-mod.css
    Hope this helps :)

    Best regards,
    Nikko

    #849534

    Hi Nikko

    Thanks for your reply – it helps greatly.

    Just one quick question – I use the Enfold Child Theme – can I safely copy the gravity-mod.css file across to the child theme and edit it there via Appearance> Editor? Also – would I need to delete the file from the parent theme?

    Thanks

    Ray

    #849570

    Hi,

    No you don’t need to delete that, you just need to dequeue the style, try adding this to the child theme’s functions.php:

    add_action('wp_enqueue_scripts', 'avia_add_gravity_child_scripts', 20);
    
    
    function avia_add_gravity_child_scripts()
    {
    	wp_register_style( 'avia-gravity-child' ,   get_stylesheet_directory_uri()."/config-gravityforms/gravity-mod.css", array(), '1', 'screen' );
    	
    	wp_dequeue_style( 'avia-gravity');
    	wp_enqueue_style( 'avia-gravity-child');
    }

    Hope this helps :)

    Best regards,
    Nikko

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