Looking To Align Inputs In Custom Add-On [RESOLVED]

Hey Forum,

I’m building a custom plugin add-on and I’m not sure how to align 2 text input fields side by side and if at all possible with different widths. Rather than create a table, I was wondering if it would be at all possible.

I added a gf_inline to the class, but that didn’t work. I searched for it, but didn’t find anything.

Thanks in advance.

The CSS Ready Classes would not work in the admin. I recommend adding the CSS inline to lay the fields out the way you want them.

Thanks Chris
You’re suggesting writing the CSS myself then correct? Just to clarify.

Yes, that is correct. I think in your own custom plugin I would expect to see your own CSS as well to lay this out exactly the way you want to.

1 Like

That did the trick. Funny I tried that yesterday and it didn’t work, but I noticed I was using the wrong css file. I got it down now. Thanks Chris!

1 Like


© 2008 - 2021. Gravity Forms is a project by Rocketgenius Inc.