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

Gallery Rating Overlay

Discussion in 'Media Gallery Support' started by Glockie, Feb 26, 2015.

  1. Glockie

    Glockie Well-Known Member

    Hello,

    On the media page, I have an issue with the colour of the text..
    The background of the overlay is black, but the text is black too - so of course, you can't see it.

    I am just wondering how do I change the text colour for the overlay?
    Many thanks! :)
     

    Attached Files:

  2. Glockie

    Glockie Well-Known Member

    By change the colour, I don't mean the wysiwyg - I mean so it is white by default, so it is at least legible.
    Thanks
     
  3. Amaury

    Amaury Well-Known Member

    I'm not seeing any black text in your screenshot.
     
  4. Glockie

    Glockie Well-Known Member

    Think about what you just said ;)

    However, if you tilt the image slightly, you will see a faint text labelled 'Hello'

    You won't see it straight away, as it's black text on a black background :)
     
  5. Amaury

    Amaury Well-Known Member

    Are you referring to the bottom-right corner with the envelope?
     
  6. Glockie

    Glockie Well-Known Member

    No... In the actual text field itself.
    I'm on my phone atm will try and get another screenshot for you now..

    Thank you.
     
  7. Amaury

    Amaury Well-Known Member

    Never mind. I see it now. I wasn't looking hard enough.

    Style Properties > Rich Text Editor > Editor Contents

    Add a text color there and see if that gets it.
     
    Glockie likes this.
  8. Glockie

    Glockie Well-Known Member

    Okay,
    Here you can see the text highlighted fully, then only two letters highlighted.
    I've checked the CSS in the templates, but any changes I make, don't seem to work at all.

    Many thanks
     

    Attached Files:

  9. Glockie

    Glockie Well-Known Member

    Will this affect it across the board though?
     
  10. Amaury

    Amaury Well-Known Member

    Everywhere the rich text editor is used.
     
  11. Glockie

    Glockie Well-Known Member

    As I thought... Hmm thing is, it's only the media gallery ratings overlay, this is happening to..
     
  12. Amaury

    Amaury Well-Known Member

    The RTE is tricky in some areas in general to target with CSS, even more so when you only want it on one page.

    If your text color for the RTE is already white in other areas, go ahead and try changing that style property and see if it changes the text for the RTE in the ratings overlay. Otherwise, @Chris D can likely get you the CSS needed specifically for that area.
     
  13. Glockie

    Glockie Well-Known Member

    Indeed, thing is, the background on the rest of the overlays are fine - it's only the GM ratings overlay that this is happening too.
    Yes of course, within the RTE and wysiwyg editor you can change the text colour, but I need it grey or at least white by default on the review overlay only.....

    Maru, thank you for your help thus far mate. Appreciated very much.
     
  14. Mike

    Mike XenForo Developer Staff Member

    It appears to me that your editor is actually explicitly using a transparent background, which isn't something we have explicitly targeted and it does interfere if the editor is being placed on different backgrounds. The background falls through from a number of properties (html, body, content, primaryContent, messageInfo, messageText and finally editorContent).

    I would recommend specifying a background color in the style property editorContent explicitly.
     
    Amaury likes this.
  15. Glockie

    Glockie Well-Known Member

    Okay, thanks Mike will try that and see how she goes.
     
  16. Glockie

    Glockie Well-Known Member

    All done, thanks to @Russ
    Thank you for the help in this thread.
     

Share This Page