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

product txt size

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-27-2006, 02:27 PM
 
subzero subzero is offline
 

eXpert
  
Join Date: Mar 2005
Posts: 238
 

Default product txt size

how do you change the size of the txt in the products ive tried changing the .css file to no avail :/

thanx
__________________
Version 4.0.17
Reply With Quote
  #2  
Old 05-27-2006, 02:40 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

It defaults to the overall site text. There is an empty span tag in product.tpl, if you fill that in with a class you can adjust it independently.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-27-2006, 02:43 PM
 
subzero subzero is offline
 

eXpert
  
Join Date: Mar 2005
Posts: 238
 

Default

ok so i need to add some code in products.tpl can you explain alittle more
__________________
Version 4.0.17
Reply With Quote
  #4  
Old 05-27-2006, 02:50 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Replace this:

Code:
<SPAN class=> {if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{/if} </SPAN>

with this:

Code:
<SPAN class="description"> {if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{/if} </SPAN>

now go into skin1.css, and add this:

.description {font-size: 12px;}

Replace 12px with whatever size you want the description text to appear. If it doesn't work, try replacing the span tag with a div tag.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 05-27-2006, 03:01 PM
 
subzero subzero is offline
 

eXpert
  
Join Date: Mar 2005
Posts: 238
 

Default

ill check it out thanx
__________________
Version 4.0.17
Reply With Quote
  #6  
Old 05-29-2006, 01:04 PM
 
subzero subzero is offline
 

eXpert
  
Join Date: Mar 2005
Posts: 238
 

Default

no luck m8 cant find the string in the products.tpl
__________________
Version 4.0.17
Reply With Quote
  #7  
Old 05-29-2006, 01:56 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

product.tpl, not products.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 08-22-2006, 08:21 AM
 
candleshopcreations candleshopcreations is offline
 

Senior Member
  
Join Date: Aug 2006
Location: Okinawa
Posts: 118
 

Question Re: product txt size

well, i hope i'm not repeating a question, but i cannot get the above fix to work, could someone check my code?
this is from my skin.css file

}
.ProductDetailsTitle {
COLOR: #000099; FONT-WEIGHT: bold; FONT-SIZE: 12px;
}
.ProductDetails {
COLOR: #660099;
}
.description {font-size: 12px;}
.ProductPriceTitle {
COLOR: #000000; FONT-WEIGHT: bold; FONT-SIZE: 12px;
}
.ProductPriceConverting {
COLOR: #000000; FONT-WEIGHT: bold; FONT-SIZE: 12px;
}

and this is from product.tpl

</TD>
<TD valign="top">
<SPAN class="description">
{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}
</SPAN>
<P>
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0">
<TR><TD colspan="2"><B><FONT class="ProductDetailsTitle">{$lng.lbl_details}</FONT></B></TD></TR>

any suggestions? thank you!
__________________
Andrea
www.candleshopcreations.com

Xcart 4.3.2
Mac OSX 10.6.5
EWD Hosting
Mailchimp Mod, On Sale,
One Page Checkout, Mobile
Reply With Quote
  #9  
Old 09-25-2007, 01:09 PM
 
Realsecurity Realsecurity is offline
 

Senior Member
  
Join Date: Apr 2005
Location: Bexhill
Posts: 128
 

Default Re: product txt size

Did the above mentioned and its changed standard text font to whatever size is specified in the .description in css, however whats needed is to REMOVE all styling so i can add a html template here in the description box with its OWN styles font size etc without xcart interfering with my settings. Is this possible,

any more help on this appreciated.


V4.1.8
__________________
SURECOM XCART V4.1.8
Reply With Quote
  #10  
Old 09-27-2007, 04:24 AM
 
Realsecurity Realsecurity is offline
 

Senior Member
  
Join Date: Apr 2005
Location: Bexhill
Posts: 128
 

Default Re: product txt size

Although a solution not found through xcart have had to add lines of css code into each template just to get each product to look how i want! shouldnt have to do that as css style sheets are meant to create better layout pages but xcart decides what goes where, there must be a way to prevent it but for now will have to do it the hard way!
__________________
SURECOM XCART V4.1.8
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 11:22 PM.

   

 
X-Cart forums © 2001-2020