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

Quote and BB script

Discussion in 'Styling and Customization Questions' started by the100yen, Apr 9, 2013.

  1. the100yen

    the100yen Member

    I am hoping someone can help me with this...
    When my user quote other users post with youtube video or something, it shows on quote.

    How would I go about to delete the youtube video or picture or whatever from the quote?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Add this to EXTRA.css for images:
    Code:
    .bbCodeBlock img {
    display: none;
    }
    I can't seem to get it to work for videos - I tried various things.
    I just use this anyway to keep quoted content short:
    Code:
    .bbCodeQuote {
    max-height: 106px;
    overflow: auto;
    }
     
    the100yen likes this.
  3. the100yen

    the100yen Member

    Thanks, will try it out tonight!
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The other option is of course to limit the size of quoted images, like so:
    Code:
    .bbCodeBlock img {
    max-height: 50px;
    }
     

Share This Page