Would anyone be able to help me, I’m trying to increase the width of the “Image Choice” fields. Currently, they are about 235px wide and I’m struggling to figure out how to make them wider?
Thanks David. Unforuntately I’m not using the Block builder. I have Avada running which means I can’t see the block options.
Hi Greg,
Could you please share the page URL where the form is embedded so I can check and provide you with a custom CSS code to increase the width? Thank you.
Thanks Toothless Dragon. I’ve now been able to invoke the “lg” image choice size from the Orbital theme via the following PHP code in my functions.php - that seems to do the trick for now:
add_filter( 'gform_default_styles', function( $styles ) {
return '{"theme":"orbital","inputImageChoiceSize":"lg","inputImageChoiceAppearance":"card","inputImageChoiceStyle":"square","inputPrimaryColor":"#00adee","buttonPrimaryBackgroundColor":"#00adee"}';
} );
2 Likes
Dang! Now that’s a pro tip!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.