XF 1.3 How modify Popup Alert color and time duration?

macroforum

Active member
#1
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
 

macroforum

Active member
#3
Use color for the text and background-color for the background.
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
 

Brogan

XenForo moderator
Staff member
#4
It's probably xenforo.js but I wouldn't recommend manually editing the core files as any changes will be overwritten when you upgrade.
 
Top