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

Image borders

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 10-18-2010, 06:56 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Image borders

You also need to account for the span around the image to fully display the border. See this post for more information.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #12  
Old 10-18-2010, 07:22 PM
 
Needlejig Needlejig is offline
 

Advanced Member
  
Join Date: Sep 2010
Posts: 84
 

Default Re: Image borders

Thanks for the help gb2world. I was going to look at the span tonight thanks to firebug but you save me the trouble.

So it look like in your skin1/customers/main/subcategories_t.tpl file you need to find
Code:
width: {$subcat_div_width}px;
and change it to this if you want to have a 3 pixel border
Code:
width: {$subcat_div_width+6}px;
__________________
4.4.1 <-- Live
X-payments <--not installed
Reply With Quote
  #13  
Old 10-19-2010, 04:40 AM
 
epic epic is offline
 

Member
  
Join Date: May 2005
Posts: 19
 

Default Re: Image borders

gb2world, thank you for that.... Problem now solved.

Needlejig, I can't thank you enough for all your time and help, but I'll try.... Thank You!
__________________
Version 4.3.1
www.eternalflow.co.uk
Reply With Quote
  #14  
Old 10-19-2010, 07:28 AM
 
Needlejig Needlejig is offline
 

Advanced Member
  
Join Date: Sep 2010
Posts: 84
 

Default Re: Image borders

Your welcome.
__________________
4.4.1 <-- Live
X-payments <--not installed
Reply With Quote
  #15  
Old 10-26-2010, 05:24 PM
 
storeowner storeowner is offline
 

Member
  
Join Date: Oct 2010
Posts: 10
 

Default Re: Image borders

hello,

realized this should have been posted in 4.3

thanks
__________________
x-cart gold 4.3.2
xp-64
usa
Reply With Quote
  #16  
Old 01-07-2011, 10:04 PM
 
Slavy Slavy is offline
 

Member
  
Join Date: Nov 2004
Posts: 19
 

Default Re: Image borders

Hi Needlejig,
I am running 4.3.1 version and I use Flyout menus. I've placed your code in /main.css but it didn't work. Also I tested in /modules/Flyout_Menus/Icons/main.css it didn't work either. Would you advise?
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 07:46 PM.

   

 
X-Cart forums © 2001-2020