X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Change admin confirmation color and location (https://forum.x-cart.com/showthread.php?t=66125)

bullfrog 02-14-2013 12:03 PM

Change admin confirmation color and location
 
If it is your style to want notices, announcements, confirmations, etc to be more obvious, consider this change.

In X-Cart admin for 4.4.x and 4.5.x, there is a announcement that appears in the upper right screen corner to confirm that you have made a change. The color is a tepid blue with a low contrast text color. It's a subtle design for a popup.

I like more noticeable notices and higher contrast.

To make the following change, make an easy edit of /skin/common_files/css/skin1_admin.css. The line numbers vary depending on the X-Cart version, so search for ".top-message-info" to find the place to edit. The following should be self explanatory. Change the background color, text color, and box location to suit what you like. If you like the colors I chose, you can just copy my edit.

Code:

.top-message-info {
  background: url("../images/icon_info_small.gif") no-repeat 10px 10px #ff9922;  /* color was e3ebf6, rmb 2013feb14 */
  color: #010302;    /* color was 3272ad, rmb 2013feb14 */
  width: 275px;
  min-height: 40px;
  overflow: hidden;
  padding: 10px 5px 10px 35px;
  position: fixed;
  right: 20;    /* right offset was 0, rmb 2013feb14  */
  top: 20;      /* top offset was 0, rmb 2013feb14  */

I usually add commentary when I edit original files. My initials allow me to easily search files to find my changes.

When you are done with the file editing, you will need to go to Tools>>Maintenance and click to "Force cache generation" to see the changes.

Results:
http://frogstore.com/images/notice_appearance.jpg


All times are GMT -8. The time now is 10:58 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.