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

Removing the smiley dropdown from the text editor.

Discussion in 'Styling and Customization Questions' started by Lone Wolf, Sep 27, 2012.

  1. Lone Wolf

    Lone Wolf Well-Known Member

    Is there any way to remove the smiley dropdown from the text editor?
     
  2. ShadyX

    ShadyX Well-Known Member

    .xenForoSkin .mceSplitButton {
    display: none!important;
    }

    Add that to extra.css
     
  3. Lone Wolf

    Lone Wolf Well-Known Member

    This works but it removes the font colour option as well as the smiley button
     
  4. ShadyX

    ShadyX Well-Known Member

    #ctrl_message_html_xenforo_smilies {
    display: none!important;
    }

    That should work :)
     
    Lone Wolf likes this.
  5. Lone Wolf

    Lone Wolf Well-Known Member

    Thanks that worked great. Is there a limit to how much you can have in the extra.css file. Mine is getting quite large
     
  6. ShadyX

    ShadyX Well-Known Member

    I don't think there is, I have thousands of lines of code in mine and everything is running perfectly :)
     
    Lone Wolf likes this.
  7. Shelley

    Shelley Well-Known Member

    don't worry how much you have in there my whole style is in extra.css consisting of thousands of lines of css
     
    Lone Wolf likes this.
  8. MagnusB

    MagnusB Well-Known Member

    There is no real limit on how many lines you can have there, but since it is loaded on every page load, I try to minimize the css for specific pages in that. It all depends on how much work you want reverting templates to be.
     
    Lone Wolf likes this.
  9. Lone Wolf

    Lone Wolf Well-Known Member

    Thanks everyone. I was worried about the fact it loads every time and what effect that would have on load.
     

Share This Page