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 Website Management with Zapy’s WordPress Services

Efficient Website Management with Zapy’s WordPress Services

If you're a business owner or school administrator struggling to manage your WordPress website, there is a solution out there that aims to make the process seamless and effortless: Zapy. As experts on WordPress, from hosting platforms to support and development, Zapy...

Optimizing News and Media Websites with WordPress

Optimizing News and Media Websites with WordPress

In today's dynamic digital world where news and media are consumed instantaneously, optimizing your website is no longer a luxury, but a necessity. News and media websites need to push out content quickly and efficiently while maintaining an engaging, user-friendly...

Optimizing WordPress Website Performance with Zapy Hosting

Optimizing WordPress Website Performance with Zapy Hosting

In the digital sphere where competition is stiffer than ever, every millisecond of your website loading time counts. A slow website not only mars your brand reputation but also drags down your overall website traffic and conversions. With WordPress being one of the...

Don’t Let an Agency Build You a Custom Theme

Don’t Let an Agency Build You a Custom Theme

In the vibrant world of web development, the allure of a custom theme can be tempting. It promises uniqueness, tailor-made features, and the kind of exclusivity that brands crave. However, the reality of custom themes, especially those developed by agencies, is often...