Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Signature Spacing

This discussion is related to the Signatures addon.

Sorry if this has a really obvious answer, but is there a way to make the signature single spaced? Thanks!

Comments

  • phreakphreak Vanilla*APP (White Label) & Vanilla*Skins Shop MVP

    @skatedebate: What do you mean by single spaced. To display only one line of text. CSS height and overflow could help you to mimic that behaviour.

    More beautiful could be a limited input field.

    • VanillaAPP | iOS & Android App for Vanilla - White label app for Vanilla Forums OS
    • VanillaSkins | Plugins, Themes, Graphics and Custom Development for Vanilla
  • Thanks phreak-

    I don't necessarily want to limit a user to a single line, but they don't want extra space in between each line- here's an example:


  • phreakphreak Vanilla*APP (White Label) & Vanilla*Skins Shop MVP

    Adding to Kaspars idea you can also trim BRs with CSS display: none.

    • VanillaAPP | iOS & Android App for Vanilla - White label app for Vanilla Forums OS
    • VanillaSkins | Plugins, Themes, Graphics and Custom Development for Vanilla
  • KasparKaspar
    edited March 13

    In vanilla folder /plugins/signatures/design/signature.css change


    .UserSignature {
      border-top: 1px solid #ddd;
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      padding-top: 4px;
      font-size: 11px;
      margin-top: 10px;
    }
    


    to


    .UserSignature {
      border-top: 1px solid #ddd;
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      padding-top: 4px;
      font-size: 11px;
      margin-top: 10px;
      line-height: 1;
    }
    


    This changes how signatures are shown when posting.


    Your screenshot show when entering the signature in profile settings - how that is shown is controlled by your theme.

    Use your browser console/devtools (for Chrome it is opened with F12) to find which element your theme uses - but I'd assume that would affect other input fields aswell.

Sign In or Register to comment.