Skip to Content
author's profile photo Former Member
Former Member

Changing alert color

Hello all,

Does anyone know how to change alert color from default black color to another color ?

Any help would be appreciated.

Thank you!

IN

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 03, 2011 at 07:37 AM

    Hi,

    This thread will help you do it:

    broadcast-messaging-scrolling-speedcolorsizeetc

    How to Color Alert Text

    I am pasting the relevant content from above 2 threads here:

    Go To SE80 -> BSP Application -> CRMCMP_IC_FRAME ->MIMEs -> Stylesheets -> Broadcast -> (Choose your skin) Let's say default -> download crmcmp_ic_frame_broadcast.css file by double clicking on it -> Save on local desktop -> open the file and modify 
    
    /* Fonts for the text displayed in the message bar and the empty text displayed in the message divider */
    .highpriority, .normalpriority, .lowpriority, .messagedivide, .queue { font-family : Arial; font-size : 1.4ex; font-weight : normal; }
    /* The colors for the text displayed in the message bar */
    .highpriority, .normalpriority, .lowpriority, .queue { color : #FFFFFF; }
    If required you can change these to use different font, font size and color based on message priority also.

    Go To SE80 -> BSP Application -> CRMCMP_IC_FRAME ->MIMEs -> Stylesheets -> Contextarea -> (Choose your skin) Let's say default -> download crmcmp_ic_frame_contextarea.css file by double clicking on it -> Save on local desktop -> open the file and modify as below, after that upload the file using upload & replace
    
    **********************************************************
    modify below code for color
    .ctx_alert_1
    {
    color:#000000;
    }
    
    .ctx_alert_2
    {
    color:#000000;
    }
    
    .ctx_alert_link
    {
    color:#000000;
    }
    
    *********************************************************
    Modify below code for font
    .ctx_alert_1
    {
    font-size:14px;
    font-weight:400;
    font-family:Arial,Helvetica,sans-serif;
    }
    
    .ctx_alert_2
    {
    font-size:14px;
    font-weight:400;
    font-family:Arial,Helvetica,sans-serif;
    }
    
    *********************************************************
    
    If required you can copy the BSP application to make changes in ZBSP app. but that will require lot of work...

    Also, I am guessing SAP must have done something similar to make it a feature in EHP1. You may want to check how they have done it if you have access to EHP1.

    I hope it helps.

    Thanks,

    Rohit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 03, 2011 at 06:48 AM

    Hi,

    formatting of alerts and broadcast messages is part of EhP 1. Check [this blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/19231] [original link is broken] [original link is broken] [original link is broken]; for details.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2011 at 01:20 PM

    Thank you both!! We are not on EhP1 yet, so I make a manual changes to the css....

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.