You are viewing limited content. For full access, please sign in.

Question

Question

CSS Centered Text Not Centered on PDF in Repository

asked on April 13

I'm currently having an issue that I can't seem to resolve. I've got a very simple form with very simple CSS. They text input and fields are centered when the Form is active, but once it is saved into the repository my Single Line entries lose there input position and revert back to the left side of the container. 

 

Current CSS: 

/* Centers Fields and input */
.centered div.cf-field, div.cf-field input, .cf-label, .cf-address {display:inline-block; text-align:center}

 

What Forms looks like.

 

What the PDF in Repo looks like.

0 0

Answer

SELECTED ANSWER
replied on April 13

For those that may find their way to this post I was able to resolve the issue. Though I was calling the field input and the label, I also needed to add .cf-large which is the class for the Single Line value. Once I added this, the Single Line inputs were centered on the PDF stored in the Repo.

 

Before:

.centered .cf-field, .cf-field input, .cf-label, .cf-address {display:inline-block; text-align:center}

After:

.centered .cf-field, .cf-field input, .cf-label, .cf-address, .cf-large {display:inline-block; text-align:center}

 

0 0

Replies

replied on April 13

Please file a support case so we can get a sample PDF to test.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.