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)
-   -   How do I change colour of Webmaster Mode highlight? (https://forum.x-cart.com/showthread.php?t=55582)

Sisom 09-17-2010 06:18 AM

How do I change colour of Webmaster Mode highlight?
 
Hi, I'm working on a site that uses very dark backgrounds, and consequently I can hardly see the black border that Webmaster Mode puts around each element as I select it in the popup window. Does anybody know where the CSS style is which I need to edit? I couldn't work out how to find this out by using Firebug, as the border only displays when my mouse is over the popup window, so I can't use Firebug to select the damn thing in Firefox!

cflsystems 09-17-2010 08:14 AM

Re: How do I change colour of Webmaster Mode highlight?
 
that's probably in some js file

Sisom 09-17-2010 10:48 AM

Re: How do I change colour of Webmaster Mode highlight?
 
Thanks Steve, I was thinking it might be in JS, not CSS. My JS skills are non-existent at the moment though, but am I likely to be looking for a simple hex colour, such as #000000? (Presuming I find a JS file that might be the right one). I use ColorPicker so I can find out exactly what colour the outline is (I'm presuming it's black, but it might not be)- I'll use Faststone Screen Capture to grab the screen while I'm hovering over a template in the Webmaster Mode popup window, then use ColorPicker to find out the colour of the outline.

SID357 09-17-2010 12:12 PM

Re: How do I change colour of Webmaster Mode highlight?
 
main.css

Do a search for Webmaster Mode.

Should be a line that says, color: green !important;

Sisom 09-20-2010 10:38 AM

Re: How do I change colour of Webmaster Mode highlight?
 
Hi Sid, that only changes the colour of the label text, nothing to do with the border colour. I think it must be in some JS somewhere, as cflsystems said.

Sisom 11-20-2010 03:26 PM

Re: How do I change colour of Webmaster Mode highlight?
 
Sorry to bump this, but I was hoping maybe somebody who knew the answer would see it. We can't all be creating sites with white backgrounds!

SID357 11-04-2011 09:19 AM

Re: How do I change colour of Webmaster Mode highlight?
 
Did you ever figure this out? I'm needing a white border as well.

qualiteam 11-08-2011 05:10 AM

Re: How do I change colour of Webmaster Mode highlight?
 
Alter the "skin/common_files/js/editor_common.js" template, replace:
Code:

var borderStyle = remove ? "0px none" : "1px solid black";

with e.g.:
Code:

var borderStyle = remove ? "0px none" : "1px solid red";

The code is located in the markTemplate function.


All times are GMT -8. The time now is 09:37 PM.

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