1. 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

Discussion in 'XenForo Questions and Support' started by Puntocom, Aug 22, 2013.

  1. Puntocom

    Puntocom Well-Known Member

    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?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Where?
    On the profile page?
    upload_2013-8-22_16-49-34.png

    How much more width do you need than that?
     
  3. Puntocom

    Puntocom Well-Known Member

    at least 64 characters.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    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.
     
  5. Puntocom

    Puntocom Well-Known Member

    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%
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    70%+35%=105%.

    You should probably reduce one or both so they total around 98%.
     
    Puntocom likes this.
  7. Puntocom

    Puntocom Well-Known Member

    730px - 30% - 70% works perfectly here.

    Thank you again.
     
  8. erich37

    erich37 Well-Known Member

    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!
     
  9. Puntocom

    Puntocom Well-Known Member

    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?
     
  10. erich37

    erich37 Well-Known Member

    no, I am using fluid XF-default width.


    not sure about the 730px you have mentioned in your CSS ?

    :confused:
     

Share This Page