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

XF 1.2 center quick reply box

Discussion in 'Styling and Customization Questions' started by Adam Howard, Dec 20, 2013.

  1. Adam Howard

    Adam Howard Well-Known Member

    So I have added this code to remove the avatar from the quick reply

    PHP:
    /* Removes avatar quick reply */
    .thread_view #QuickReply, .conversation_view #QuickReply {margin-left: 0;}
    .thread_view .quickReply .messageUserInfo, .conversation_view .quickReply .messageUserInfo  {displaynone;}
    /* END - Removes avatar quick reply */
    What I'm trying to figure out is how to center the reply box.

    Because right now I have this big empty space
    http://i.imgur.com/Mwcv1zA.png
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    #QuickReply has margin-left of 140px (in the default style).

    Set it to 0px in EXTRA.css.
     
  3. Adam Howard

    Adam Howard Well-Known Member

    I much prefer to avoid style properties. I'm trying to figure out how to do this via extra.css only. You should be able to override a property using the !important comment.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    I didn't mention Style Properties.

    I specifically said:
     
    SneakyDave, Amaury and Adam Howard like this.
  5. Adam Howard

    Adam Howard Well-Known Member

    That worked. Thank you @Brogan
     

Share This Page