Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Change admin confirmation color and location

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-14-2013, 12:03 PM
  bullfrog's Avatar 
bullfrog bullfrog is offline
 

eXpert
  
Join Date: Oct 2004
Location: Oregon, USA
Posts: 366
 

Default 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
__________________
Bullfrog ~~~ X-Cart Gold v4.7.2 (2) v4.7.8. ⌠If the road is easy, you're likely going the wrong way.■ ― Terry Goodkind
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020