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

Not a Bug Delete Thread Overlay Button Text Hard-Coded

Discussion in 'Resolved Bug Reports' started by Amaury, Sep 26, 2013.

  1. Amaury

    Amaury Well-Known Member

    I believe that may actually be the same case here.

    Anyway, this button is in multiple areas, such as when deleting a profile comment, but for this example, I will use the thread route.

    Go into a thread and do the following:

    Thread Tools > Edit Title

    The Delete Thread button has hard-coded black text.

    In xenforo_overlay.css:
    Code:
            .xenOverlay .formOverlay a.button
    
            {
                @property "formOverlayButton";
                color: black;
                @property "/formOverlayButton";
            }
    Text needs to be controlled by a style property / variable -- one of the button ones, obviously.
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Edit the formOverlayButton style property. You should be able to change it.
     
    Chris D likes this.
  3. Amaury

    Amaury Well-Known Member

    I wonder why it's its own style property and not controlled by the other button style properties...

    Anyway, thanks. Please move this and mark it Not a Bug. :)
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Overlays are styled differently than most pages, and as such, it's only fitting buttons are styled differently as well.
     
    Amaury likes this.

Share This Page