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

Product Picture Border

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-12-2008, 03:50 PM
  Keys Care's Avatar 
Keys Care Keys Care is offline
 

eXpert
  
Join Date: Feb 2007
Location: Cheyenne - Santa Monica - Oregon
Posts: 214
 

Default Product Picture Border

I am trying to get rid of the black border around my product pictures. Can someone direct me to where can reformat these borders? I have looked in the CSS Skin 1, but cannot figure our where they are called.

Thanks

Bob
__________________
All-Natural Healing Skin and Pet Care Products
4.6.0 Gold, ShipWorks 3
Reply With Quote
  #2  
Old 03-12-2008, 04:10 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Product Picture Border

locate in your skin1.css the selector .ProductBorder

and change to...

.ProductBorder {
border:0;
}

Or if you're keen, and you want cleaner code, remove it all together from the relevant .tpl and then remove the .ProductBorder from skin1.css as it doesn't serve any function. But if you're unsure and may want to use it in future, keep it to border:0
__________________
Doms
kube v4.1.9
Reply With Quote
  #3  
Old 03-12-2008, 04:15 PM
  Keys Care's Avatar 
Keys Care Keys Care is offline
 

eXpert
  
Join Date: Feb 2007
Location: Cheyenne - Santa Monica - Oregon
Posts: 214
 

Default Re: Product Picture Border

Thanks! I looked at the part of the code 10 times and could not see the obvious

Regards,

Bob
__________________
All-Natural Healing Skin and Pet Care Products
4.6.0 Gold, ShipWorks 3
Reply With Quote
  #4  
Old 03-13-2008, 12:37 AM
  Holub's Avatar 
Holub Holub is offline
 

X-Adept
  
Join Date: Jan 2008
Posts: 432
 

Default Re: Product Picture Border

You should include into skin1.css new style like
IMG {
border:0;
}
__________________
Regards,
Anthony Holub

X-Cart Skins Store
- twenty two different skins available;
- both 4.1.x and 4.2.x versions compatible;
- refresh you store now!

Smart menu X-Cart add-on
Featured Products Slide Show X-Cart add-on
"What's New?" FREE X-Cart add-on
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:07 AM.

   

 
X-Cart forums © 2001-2020