Go Back   3dCart Shopping Cart Software Forums > Shopping Cart Software > General Configuration Questions

Reply
 
Thread Tools Display Modes
  #1 ()  
Old 08-29-2008, 10:00 PM
JLynn JLynn is offline
3dCart User
 
Join Date: Feb 2008
Posts: 89
Default Adding border around category page pictures

When I first started working on my site, I had borders around my photos on the category pages and then changed them to no borders (now I'm thinking I may want them back and want to re-do to make a final decision.

After searching the forum, help area, knowledgebase, and popping in and out of different areas in the admin file - all unsuccessfully...I submitted a support ticket but since we're on the Holiday weekend, figured I'd put it out here to see if anyone knows where I might make the changes...or if I have to add code to the category template (if so...what code and where)?

Any help is appreciated as always
__________________
J-Lynn Jewels
Artisan Jewelry & Gifts
Reply With Quote
  #2 ()  
Old 08-29-2008, 10:25 PM
Mark Mark is offline
3dCart Geek
 
Join Date: Sep 2007
Posts: 404
Default

I did this on one of my sites. I think it was in the "listing0" or category template

Somewhere you need to add this: border=1

I think this is the line: <table border="1" cellspacing="0" cellpadding="5" width="100%" align="center">
<!--START: CATEGORY_ITEMS--><TR valign="top" align="center"><TD width="50%">

Last edited by Mark : 08-29-2008 at 10:28 PM.
Reply With Quote
  #3 ()  
Old 08-29-2008, 11:55 PM
JLynn JLynn is offline
3dCart User
 
Join Date: Feb 2008
Posts: 89
Default

Thanks for the quick reply Mark!
The listing template was for the detailed product page...but I did the same thing in the Category0 template in the Start Item Template block - and just switched the border from 0 to 1.

But I now remember why I didn't go with the border - it was blue and I remember trying a bunch of things to change the color and couldn't last time (maybe because it's a link and that's the color I have set up in my original settings?).

Do you know any codes that I could try to force the color on just the thumbnail images on the sub category pages without messing with my original link settings?
__________________
J-Lynn Jewels
Artisan Jewelry & Gifts
Reply With Quote
  #4 ()  
Old 08-30-2008, 01:19 AM
ScribeTime ScribeTime is offline
3dCart Power User
 
Join Date: Aug 2007
Posts: 211
Default

This is how I think I fixed that...

I created a css style called "item_border" and applied it to my category template as shown below:

<!--START: CATEGORY_ITEMS-->
<!--START: ITEM_TEMPLATE_0-->
<table border="0" cellspacing="0" cellpadding="0" width="95%">
<tr>
<td class="item_border" colspan="2" height="200" align="center" valign="middle"><a href="product.asp?itemid=[catalogid]&amp;catid=[catid]"><img src="[THUMBNAIL]" alt="[name]" border="0"></a></td>
</tr>...

I also defined a height for the cell that was the same size as my thumbnails.
Here's what the style - "item_border" looks like:

1px solid #999999


Hope this helps. If that doesn't work, let me know and I'll try to figure it out.
Reply With Quote
  #5 ()  
Old 08-30-2008, 04:23 AM
JLynn JLynn is offline
3dCart User
 
Join Date: Feb 2008
Posts: 89
Default

Thanks Scribetime - I tried a few more things - but couldn't get the blue to disappear. May try again tomorrow when I'm not so tired.

As for setting up a CSS style, I only have notebook and not sure I would be successful in doing that. Was hoping for more of an html fix that I could do within the category template. I don't trust myself enough yet to upload much LOL.
__________________
J-Lynn Jewels
Artisan Jewelry & Gifts
Reply With Quote
  #6 ()  
Old 08-30-2008, 06:17 AM
ScribeTime ScribeTime is offline
3dCart Power User
 
Join Date: Aug 2007
Posts: 211
Default

Have you tried adding code to specify a border color using something like?

bordercolor="#999999"
Reply With Quote
  #7 ()  
Old 09-03-2008, 06:17 PM
JLynn JLynn is offline
3dCart User
 
Join Date: Feb 2008
Posts: 89
Default

Carlin from Support told me that I would need to do an "Inline Style" code and also gave me a link to see some examples - http://www.w3schools.com/Html/html_styles.asp

It's not one of those top priority changes for me - but this info will be good for future updates on my site.
Thanks for the help Mark & Scribetime
J-Lynn
__________________
J-Lynn Jewels
Artisan Jewelry & Gifts
Reply With Quote
Reply


Thread Tools
Display Modes

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. The time now is 11:47 PM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8