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

blank XMG add media icon in message editor

Discussion in 'Media Gallery Support' started by hpidriver, Nov 13, 2014.

  1. hpidriver

    hpidriver Member

    How do I get the camera icon to show up for the XMG add media button? Thanks.
    Edit: the icon appears in the default xenforo style so no problems with the add-on itself.
    Message editor on my site using flat awesome (blank box):
    _20141113_134658.JPG

    How it appears here (with camera icon):
    _20141113_134626.JPG
     
    Last edited: Nov 13, 2014
  2. Russ

    Russ Well-Known Member

    Looks like you're using Font Awesome for the icons in the editor. You may need to simply add the new code:

    Code:
    html .redactor_toolbar li a.redactor_btn_custom_gallery:before
    {
    content: "\f083";
    }
    
    This was taken from a resource I posted a few months ago so the class may still be the same.
     
    Chris D and hpidriver like this.
  3. hpidriver

    hpidriver Member

    Many thanks, that did the trick!
     
  4. 19ninety

    19ninety Member

    Capture5.JPG

    In case anyone else wasnt sure where to add this code, you'll need to edit the editor_ui.css file/s in your affected style/s.

    ACP > Appearance > Styles

    Then click on Templates next to the affected Style. Next search for editor, then click on editor_ui.css

    Capture3.JPG

    Scroll to the bottom and paste the code posted by Russ at the bottom.

    Capture4.JPG

    YAY fixed :)

    Capture6.JPG
     

Share This Page