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

Fixed Editor text color issues

Discussion in 'Resolved Bug Reports' started by Carlos, Jan 14, 2011.

  1. Carlos

    Carlos Well-Known Member

    Where do I find the properties to sort out this color problem I have:
    blackbox.png

    Both the LightBox and the Quick reply box look the same....soo I am looking to edit the background color and font color to fix this.
     
  2. Shelley

    Shelley Well-Known Member

    I'm sure it's in the editor_contents.css template and look for this code (below)

    Code:
    body,
    body.mceForceColors
    {
        @property "primaryContent.background";
        background-color: @contentBackground;
        @property "/primaryContent.background";
        
        @property "primaryContent.font";
    
        @property "/primaryContent.font";
    }
     
  3. Carlos

    Carlos Well-Known Member

    Thank you! :D

    Hey, shelley, is it okay if I add a hex color/font style to these calls?

    "/primaryContent.font"

    Like this: /#123456.tahoma ...?
     
  4. Shelley

    Shelley Well-Known Member

    You should be okay to add in a hexvalue.
     
  5. Carlos

    Carlos Well-Known Member

    Ohkey! Here I go!
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    That won't work though.

    You meed to define the color and font on separate lines, like so:

    color: #123456;
    font-family: Georgia, 'Times New Roman', Times, serif;
     
  7. Carlos

    Carlos Well-Known Member

    I understand that I'm supposed to do that for some CSS but this code looks different to me than the other ones, so that's why I was asking.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    That's because those elements are linked to Style Properties.

    They have 'opening' and 'closing' tags to denote the Style Properties element.
     
  9. Carlos

    Carlos Well-Known Member

    So, with what you've been saying; I should put in the code like this?

    /primaryContent: #123.font: Georgia, Tahoma

    ....? o_O
     
  10. SeriousJay

    SeriousJay New Member

    It seems I got this same issue since our upgrade this morning. For some reason it went all black. On a dark theme. :(

    How would one go about to change only the text in the box, to say to a white?
     
  11. Carlos

    Carlos Well-Known Member

    That's what I'm asking here.
     
  12. Mike

    Mike XenForo Developer Staff Member

    The editor has been updated to respect some properties. Moving this to bugs as it doesn't look like it's doing it very well.
     
  13. Dean

    Dean Well-Known Member

    When I upgraded my test site to b6 the background color of the editor at the bottom of the thread changed....

    Interesting for sure. It appears it is grabbing a color that is used in another part of the style/skin. Quick reply at the bottom, inline editor, advanced editor - all the same color that looks like it came from another part of the skin..
     
  14. Mike

    Mike XenForo Developer Staff Member

    Yes, rather than hardcoded white. :)
     
  15. Dean

    Dean Well-Known Member

    oh....

    Thanks for the hint, I now know what to look for. :)
     
  16. SeriousJay

    SeriousJay New Member

    If you can kindly provide a solution to this problem, it would be appreciated. (aka an example)

    I have many users unable to properly post and making them happy would make me happy, of course.
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

  18. Edrondol

    Edrondol Well-Known Member

    I concur. We need direction. Black text on black background = really difficult posting.
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    Try adding this to EXTRA.css:

    Code:
    body,
    body.mceForceColors {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    }
    Change the colours to suit.
     
  20. Edrondol

    Edrondol Well-Known Member

    I only want to change the color of the text in quick edit and replies to white. That's it.
     

Share This Page