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

Text Size Issue ~ Short Description / Product Info

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-14-2005, 01:07 AM
 
NJB NJB is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default Text Size Issue ~ Short Description / Product Info

Hi,

I'm an X-Cart beginner but by following instructions in this forum I have managed to change the font size of my website text using the skin1_css file.

The only problem I'm having is that the text remains small on the Product List page - in particular the text that I entered under "Short Description" when adding the product.

Can someone please advise how I change this text size?

Thanks,
Tracy
__________________
NJB
Sydney, Australia
x-Cart Version 4.0.12
Reply With Quote
  #2  
Old 03-14-2005, 02:12 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

this is hard coded into the product.tpl file.

should realy get added to the css
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 03-14-2005, 09:01 AM
 
mpj mpj is offline
 

Senior Member
  
Join Date: Feb 2005
Posts: 106
 

Default

why not just add




something include tpl is here
</p>

and then assign

P in your .css

that worked well for me

hth
__________________
X-Cart 4.0.11


{My simple mods}
Adding Market list and % save on product detail
Quantity input box
Reply With Quote
  #4  
Old 03-14-2005, 11:30 AM
 
NJB NJB is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default Product.tpl file

Thanks for your advice, I've located the product.tpl file, but can't find the exact text that I need to change.

Can someone please advise what I should be looking for in here?

Thanks Tracy
__________________
NJB
Sydney, Australia
x-Cart Version 4.0.12
Reply With Quote
  #5  
Old 03-14-2005, 11:35 AM
 
balinor balinor is offline
 

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

Default

If you are using a single column display, open products.tpl and get rid of hte font tag in this bunch of code:

Code:
<FONT size="1"> {$products[product].descr|truncate:300:"...":true} </FONT>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 03-14-2005, 10:49 PM
 
NJB NJB is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default Code ~ product.tpl file

Hi - I still can't locate the code you mention in the product.tpl file. The closest to it, and the only code which includes {product.desc} is below. Is this the bit I need to edit? And, how? I'm a little scared that I'm going to 'stuff it up'.





<SPAN class="Text">
{$product.descr}
</SPAN>





I also checked the products.tpl (with an "S") - the {product.desc} code isn't in there at all. To change the font size should I be editing in product.tpl or productS.tpl?

Appreciate your help.

Thanks,
Tracy
__________________
NJB
Sydney, Australia
x-Cart Version 4.0.12
Reply With Quote
  #7  
Old 03-15-2005, 03:33 AM
 
balinor balinor is offline
 

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

Default

If you are talking about the list of products under a sub-category, you need to either edit productS.tpl or products_t.tpl depending on your layout. THe code I posted is in productS.tpl.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 03-16-2005, 12:04 AM
 
NJB NJB is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default Thank You

Thanks very much for your help with this....I couldn't have done it without you.

Cheers,
Tracy
__________________
NJB
Sydney, Australia
x-Cart Version 4.0.12
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 02:18 AM.

   

 
X-Cart forums © 2001-2020