How to centre align text on an AEM 6.2 Form

Avatar

Avatar
Validate 10
Level 3
RobertBailey201
Level 3

Likes

11 likes

Total Posts

53 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
RobertBailey201
Level 3

Likes

11 likes

Total Posts

53 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
RobertBailey201
Level 3

09-09-2016

Hi All,

Is it possible to centre align a line of text on an AEM 6.2 Form ?

I have tried setting the Text Align setting in the Style options, which does not appear to make any difference.

I have also tried settings the CSS Override to text-align:center which also does not appear to make any difference.

Thanks,

Robert

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,383 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,383 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

17-10-2016

Hi Robert,

 Please refer to this article:- http://help.adobe.com/en_US/AEMForms/6.1/DesignerHelp/WS3041177a02dcf48e4d6a577f12b84b56a31-7ffe.2.h...

// To display this dialog box, right click a style in the Internal style sheet panel, select Edit Style, and then select Caption Text Formatting from the list on the left.

 

Another reference article is :- http://help.adobe.com/en_US/AEMForms/6.1/DesignerScriptingBasics/WS92d06802c76abadb57cc1b6e12a923439...

Can you please le me know, how are you doing this by CSS override ? 

// For CSS, could you please let me know, which file are you editing and which property? (Reference article:- https://forums.adobe.com/thread/1076603

~kautuk

Answers (0)