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

Border around products.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-09-2009, 03:52 PM
 
mrerotic mrerotic is offline
 

eXpert
  
Join Date: Feb 2009
Posts: 264
 

Default Border around products.

How can I give a border color around each product (only on the outside) on multi product view. So basically I have 3 products per row being shown under each category. I want all three to wrapped in individual borders. How can this be done?

Thanks In advance.
__________________
x-cart 4.2.3
AlteredCart Smart Search
Auto Featured Products Mod (Personal Mod)
BCSE Product Importer Pro & Drop Shipper Pro
CDSEO Pro
CMS EZRecommends
EE slider login (Personal Mod)
Next Prev Link Mod (Customized)
ShadowBox Detailed Images (Personal Mod)
Shop By Price (Customized)
Social Media (Personal Mod)
Switch Layout View (Personal Mod)
Special Offers
Testimonials (Personal Mod)
Whats New (Customized)
Reply With Quote
  #2  
Old 03-10-2009, 01:41 AM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default Re: Border around products.

I'd like to do that too...
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote
  #3  
Old 03-10-2009, 10:19 AM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default Re: Border around products.

v4.2 Look in your main.css to find "Products list" styles

v4.1.10 Look in your skin1.css
You will find these styles
TD.PListImgBox
DIV.PListImgBox
__________________
______________
version 4.1.9 Gold
Reply With Quote
  #4  
Old 03-10-2009, 04:16 PM
 
mrerotic mrerotic is offline
 

eXpert
  
Join Date: Feb 2009
Posts: 264
 

Default Re: Border around products.

well i found products-list and I have tried all variables there by adding 'border: 1px #000 solid;' with no luck. Any other suggestions. I do appreciate it.
__________________
x-cart 4.2.3
AlteredCart Smart Search
Auto Featured Products Mod (Personal Mod)
BCSE Product Importer Pro & Drop Shipper Pro
CDSEO Pro
CMS EZRecommends
EE slider login (Personal Mod)
Next Prev Link Mod (Customized)
ShadowBox Detailed Images (Personal Mod)
Shop By Price (Customized)
Social Media (Personal Mod)
Switch Layout View (Personal Mod)
Special Offers
Testimonials (Personal Mod)
Whats New (Customized)
Reply With Quote
  #5  
Old 03-19-2009, 12:21 PM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Default Re: Border around products.

in my opinion, even better would be to have a border in between to seperate, not on the outside
__________________
Richard


Ultimate 5.4 testing
Reply With Quote
  #6  
Old 04-06-2009, 06:53 AM
  alec.thomas's Avatar 
alec.thomas alec.thomas is offline
 

Advanced Member
  
Join Date: Mar 2009
Location: Minnesota, USA
Posts: 78
 

Default Re: Border around products.

you would need to change this in main.css

Code:
.products-list .image { float: left; position: relative; padding: 3px 20px 3px 10px; margin-right: auto; }

with this

Code:
.products-list .image { float: left; position: relative; padding: 3px 20px 3px 10px; margin-right: auto; border: thin solid #000000; }
__________________
X-Cart Gold v4.2.0 [Linux]
Add-On: X-Magnifier
Altered Cart Add-On: One Page Checkout
Reply With Quote
  #7  
Old 04-06-2009, 07:40 AM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Default Re: Border around products.

Hi Alec, I meant the thumbnails in columns
__________________
Richard


Ultimate 5.4 testing
Reply With Quote
  #8  
Old 04-06-2009, 08:46 AM
  alec.thomas's Avatar 
alec.thomas alec.thomas is offline
 

Advanced Member
  
Join Date: Mar 2009
Location: Minnesota, USA
Posts: 78
 

Default Re: Border around products.

Okay, I misunderstood where you want to do this. To add a border around category thumbnails, Add this line of code to your main.css

Code:
/* Adds border around category images */ div.subcategories img {border: thin solid #000000;}

and to add a border around featured products, and sub-category thumbnails add this code to main.css
Code:
.products-list img{border: thin solid #000000;}
add a different stlye by putting your css in the curly brackets.
__________________
X-Cart Gold v4.2.0 [Linux]
Add-On: X-Magnifier
Altered Cart Add-On: One Page Checkout
Reply With Quote
  #9  
Old 04-06-2009, 09:36 AM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Default Re: Border around products.

really appreciate your help and knowledge, what I am after is for the featured products in columns to have a border in between the images, but not on the outside if this makes sense?

For exampe: O | O | O ... where the O is product and the | is seperater
__________________
Richard


Ultimate 5.4 testing
Reply With Quote
  #10  
Old 04-06-2009, 09:50 AM
  alec.thomas's Avatar 
alec.thomas alec.thomas is offline
 

Advanced Member
  
Join Date: Mar 2009
Location: Minnesota, USA
Posts: 78
 

Default Re: Border around products.

Please give me a link to your site so I can see how its laid out. It's too hard to figure out what your trying to do without looking at your site.
__________________
X-Cart Gold v4.2.0 [Linux]
Add-On: X-Magnifier
Altered Cart Add-On: One Page Checkout
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 01:16 PM.

   

 
X-Cart forums © 2001-2020