| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
product txt size | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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 |
|||||||
#3
|
|||||||
|
|||||||
![]() ok so i need to add some code in products.tpl can you explain alittle more
![]()
__________________
Version 4.0.17 |
|||||||
#4
|
|||||||
|
|||||||
![]() Replace this:
Code:
with this: Code:
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 |
|||||||
#5
|
|||||||
|
|||||||
![]() ill check it out thanx
![]()
__________________
Version 4.0.17 |
|||||||
#6
|
|||||||
|
|||||||
![]() no luck m8 cant find the string in the products.tpl
![]()
__________________
Version 4.0.17 |
|||||||
#7
|
|||||||
|
|||||||
![]() product.tpl, not products.tpl
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
![]() 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 |
|||||||
#9
|
|||||||
|
|||||||
![]() 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 |
|||||||
#10
|
|||||||
|
|||||||
![]() 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 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|