How to center-align text entry forms? | XM Community
Skip to main content
I need to take the text entry box to the center of the page rather than the left side of the page (attached screenshot. Can you please guide me with that?



!
Hi @busmarketing,



Assuming you are using Text entry -> single line question



Paste the below code in the js(OnReady) of question



jQuery("#"+this.questionId+" .ChoiceStructure").css("text-align","center");
Thanks a lot @shashi !

Leave a Reply