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

Newwb -help edit skin1 to get rid of purple box!?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-03-2006, 11:47 PM
 
DeanH DeanH is offline
 

Member
  
Join Date: Apr 2006
Location: USA
Posts: 21
 

Default Newwb -help edit skin1 to get rid of purple box!?

I did several searches, trying not to post what is probably a weird/dumb question, but here goes. I have a logo that I was able to upload, but I want to put a bit of a border around it to look better.

So I edited the /head.tpl (no, I don't know what I'm doing, but I get lucky often enough to keep trying) I changed the line:

<TD>[img]{$ImagesDir}/xlogo.gif[/img]</TD>

and changed border="0" to border="20" and by golly, it worked!

BUT, the border is purple! I cannot find any hex code that I don't recognize in the Skin1.css file. So-oooo... What line will change the purple border color? [-o< Anyone want to take a crack at this, please?
__________________
X-cart Ver. 4.0.18
WinXP
DSEFU Mod from SafetyNetWeb
Marketing Manager
Feed Manager
EZ Upsell
EZ Checkout
EZ Recommends

http://www.deanhenry.com
Reply With Quote
  #2  
Old 05-04-2006, 12:07 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default

I'll have a crack, but that is all it is...

The image is actually a link, so the purple is probably a standard link colour for active link or similar.

So the css is being called from the a:link, etc css styles.

You could perhaps create a new style and call that from your a href statement.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 05-04-2006, 12:30 AM
 
DeanH DeanH is offline
 

Member
  
Join Date: Apr 2006
Location: USA
Posts: 21
 

Default Ok, that makes sense...

Thank you for your answer. It does make sense, but my luck runs out (or skill, anyway) in actually performing what you suggest. I can change files, but not actually create.

I had been trying the other direction, which is modifying the logo image itself, but the gifs I posted appeared low quality on the site. It sounds like I ought to try harder on that...

I appreciate your reply so quickly!
__________________
X-cart Ver. 4.0.18
WinXP
DSEFU Mod from SafetyNetWeb
Marketing Manager
Feed Manager
EZ Upsell
EZ Checkout
EZ Recommends

http://www.deanhenry.com
Reply With Quote
  #4  
Old 05-04-2006, 12:40 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default

Try something like this:

change:

<A href="http://www.mydomain.com">

to:

<A href="http://www.mydomain.com" class="imageborder">

Then in you skin1.css,

you need to add that class:

.imageborder:link {COLOR: #000000;}
.imageborder:active {COLOR: #000000;}
.imageborder:hover {COLOR: #000000;}
.imageborder:visited {COLOR: #000000;}

Not tested, I am presuming that the COLOR bit will alter the border. Other than that, the theory is along those lines.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 05-04-2006, 09:59 AM
 
DeanH DeanH is offline
 

Member
  
Join Date: Apr 2006
Location: USA
Posts: 21
 

Default

Thanks again, Paul. I will try that when I get a chance and post the results. I appreciate the explanation and patience.
__________________
X-cart Ver. 4.0.18
WinXP
DSEFU Mod from SafetyNetWeb
Marketing Manager
Feed Manager
EZ Upsell
EZ Checkout
EZ Recommends

http://www.deanhenry.com
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 06:28 PM.

   

 
X-Cart forums © 2001-2020