• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 I need more width for user custom field

Puntocom

Well-known member
#1
I have set up a custom user field for GnuPG public key, but it looks broken, it needs more width.

How can I do extend the width of it?
 

Brogan

XenForo moderator
Staff member
#4
So is it the physical width you need to increase or the number of characters which can be accepted in the field?

I just entered 64 characters in a custom field on my own site with no issues - all of the characters were visible too.
 

Puntocom

Well-known member
#5
With the help of Brogan I have managed to solve this setting:

.contactInfo, .aboutPairs - set to 730px
.contactInfo dt, .aboutPairs dt - set to 35%
.contactInfo dd, .aboutPairs dd - set to 70%
 

erich37

Well-known member
#8
I have changed the percentage like this:

Code:
.contactInfo dt, .aboutPairs dt {
    width: 70%;
}
... but it is just breaking the field-data into another line.


Could you please post the whole CSS-change you have made in order to achieve a bigger width for the columns ?


Many thanks!
 

Puntocom

Well-known member
#9
set this:

.contactInfo, .aboutPairs - set to 730px
.contactInfo dt, .aboutPairs dt - set to 30%
.contactInfo dd, .aboutPairs dd - set to 70%

it should work.... do you use fixed with? if the answer is yes, how much width?