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

XF 1.3 How modify Popup Alert color and time duration?

Discussion in 'Styling and Customization Questions' started by macroforum, Apr 3, 2014.

  1. macroforum

    macroforum Active Member

    Hi :)
    I added this code in EXTRA.css template
    Code:
    #StackAlerts {
    color: #FE9A2E;
    position: fixed;
    bottom: 300px;
    left: 400px;
    z-index: 9999;
    }
    But now i have orange text color and dark background
    I would orange background and black text color...
    I would also increase show duration time: how cam obtain this ?
    Thanks
    Antonio
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Use color for the text and background-color for the background.
     
    macroforum likes this.
  3. macroforum

    macroforum Active Member

    Thanks :)
    I used this :
    Code:
    #StackAlerts {
    font-size: 11px;
        background: transparent url('@imagePath/xenforo/gradients/form-button-white-25px.png') repeat-x top;
        padding: 1px 5px;
        margin-top:35px;
        border: 1px solid transparent;
        border-radius: 3px;
        box-shadow: 1px 1px 3px rgba(0,0,0, 0.25);
        text-align: center;
        color: white;
    background-color: green;
    border-color: green;
    position: fixed;
    bottom: 400px;
    left: 400px;
    z-index: 9999;
    
    }
    For duration time what .js file i can modify? Or is .css file?
    Antonio

    popup.jpg
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It's probably xenforo.js but I wouldn't recommend manually editing the core files as any changes will be overwritten when you upgrade.
     
    macroforum likes this.
  5. macroforum

    macroforum Active Member

    Ok, thanks! :)
     

Share This Page