MyBB Community Forums
[How To?] Change "You have message" colour - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Change "You have message" colour (/thread-174632.html)



Change "You have message" colour - Zalixus - 2015-08-15

Hello! 

I would like to know, how I could change the background colour of the "You have new private message from" alert.

[Image: KW9WdIA.png]


RE: Change "You have message" colour - rgmm - 2015-08-15

For the default theme

Themes » Default » and edit global.css in advanced mode.

Change background property of .pm_alert


RE: Change "You have message" colour - Zalixus - 2015-08-20

Not working Sad


RE: Change "You have message" colour - ArneVD - 2015-08-20

What do you want to change, the background color or the text color?


RE: Change "You have message" colour - Zalixus - 2015-08-20

(2015-08-20, 12:54 PM)ArneVD Wrote: What do you want to change, the background color or the text color?

background colour


RE: Change "You have message" colour - Ad Bakker - 2015-08-20

Change background ( color #fff6bf), border (color #ff6324) and perhaps you can add color to change the text color:


.pm_alert {
    background: #fff6bf none repeat scroll 0 0;
    border: 1px solid #ffd324;
    font-size: 11px;
    margin-bottom: 15px;
    padding: 5px 20px;
    text-align: center;
}



RE: Change "You have message" colour - Zalixus - 2015-08-20

(2015-08-20, 01:40 PM)Ad Bakker Wrote: Change background ( color #fff6bf), border (color #ff6324) and perhaps you can add color to change the text color:


.pm_alert {
    background: #fff6bf none repeat scroll 0 0;
    border: 1px solid #ffd324;
    font-size: 11px;
    margin-bottom: 15px;
    padding: 5px 20px;
    text-align: center;
}

Works!