The Zapy Blog

Fix: Gravity Forms Edit Choices Scrolling to Top

Aug 22, 2022

I was recently using Gravity Forms to build a complex form with over 200 form fields, many of which were multiple choice questions. Every time I went to edit the a choice selection, it would scroll me all the way to the top of the form and open up a flyout pane displaying all the choice options. It was very frustrating because then I would have to scroll through hundreds of fields to find where I was before. This may sound dramatic, but all that scrolling to find my place was adding many minutes if not hours to my workflow.

I finally just created the below snippet and added it to my functions.php file and it immediately solved my problem. I hope this helps someone else out there!

This code simply changes the flyout position from absolute to sticky.

 

add_action('admin_head', 'admin_custom_css'); 

function admin_custom_css() {
	echo '<style> .gform-admin .gform-flyout.gform-flyout--absolute {position: sticky !important; } </style>'; 
}

Recent Posts

Efficient WordPress Website Transformation

Efficient WordPress Website Transformation

In our rapidly evolving digital world, your website serves as a virtual storefront for your business. Having a professional, attractive, and user-friendly website is crucial in conveying the credibility and trustworthiness of your brand. Among the many platforms out...

WordPress and WooCommerce Integration for E-Commerce

WordPress and WooCommerce Integration for E-Commerce

In the digital age, having a robust e-commerce platform is not just an added advantage — it’s quite simply the bare minimum. As one of the most widely used content management systems in the world, WordPress offers unparalleled simplicity and flexibility to business...

Zapy: Transforming Your WordPress Vision

Zapy: Transforming Your WordPress Vision

Businesses and schools deal with a bunch of diverse needs and the administration of websites should be the least of their concerns. That's where we come in. Welcome to Zapy - Your one-stop solution for all your WordPress aspirations. Accelerating Growth in Today's...

Efficient Website Management with WordPress

Content is king in the digital world. You could have the best business ideas, offer superior services, or own a revolutionary product line. Still, if you don't have an efficient website to tell your story, you will struggle in this era. Luckily, WordPress and Zapy are...

WordPress SEO Guide: Increase Visibility

WordPress SEO Guide: Increase Visibility

Search Engine Optimization (SEO) isn't just a buzzword; it's a fundamental and multi-functional approach that helps businesses in various verticals to maximize their website's visibility, traffic, and user engagement. If you have a WordPress website for your company...