keress Posted March 14, 2006 Posted March 14, 2006 I'm trying to find which stylesheet item controls the font size of the main text book of a product page. Didn't I see somewhere around here a summary of what each of these items control?
Raquel Posted March 14, 2006 Posted March 14, 2006 I'm trying to find which stylesheet item controls the font size of the main text book of a product page. Didn't I see somewhere around here a summary of what each of these items control? http://www.oscommerce.info/kb/osCommerce/C...n_and_Layout/54 -- I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction. Ayn Rand
keress Posted March 14, 2006 Author Posted March 14, 2006 Thanks for the quick response, Raquel, and the link. I'm afraid I'm not having much luck, though. I've been experimenting with those items that would seem appropriate: TD.productListing-data: Did not see any change on product or category page. TD.main, P.main: Changed font size on category page, not on product page. TEXTAREA: Did not see any change on any pages. I've input a product description through the catalog admin in html, with no font specified, assuming the default font would rule. I'm getting a large font, looks like 12 or 14 pt, that doesn't make any sense given the stylesheet instructions. Anybody have any clue what's going on?
Raquel Posted March 15, 2006 Posted March 15, 2006 Thanks for the quick response, Raquel, and the link. I'm afraid I'm not having much luck, though. I've been experimenting with those items that would seem appropriate: TD.productListing-data: Did not see any change on product or category page. TD.main, P.main: Changed font size on category page, not on product page. TEXTAREA: Did not see any change on any pages. I've input a product description through the catalog admin in html, with no font specified, assuming the default font would rule. I'm getting a large font, looks like 12 or 14 pt, that doesn't make any sense given the stylesheet instructions. Anybody have any clue what's going on? Using your browser, view the source of the page you're trying to change. See what classes are being used. Those would be the ones you want to look at in the css file. When I'm playing with a css file ... and don't know what I'm doing, I usually comment out what's already there. That way I can delete the comment and get the original back. i.e. color: #000000; //#ffffff; If I change my mind, I just delete the "#000000; //" and everything's back the way it was. -- I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction. Ayn Rand
keress Posted March 15, 2006 Author Posted March 15, 2006 I had tried that. Here's the code: <table width="93%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>Four wheel battery powered scooter, Comes equipped with rear view mirrors, front and rear lights and storage basket. Size Length - 47.2" Width - 25.2" Height - 37", Weight 118 lbs, Tires 12 1/2" x 2 1/4", Aluminum alloy wheels, Battery 24V / 20 AH, Max speed 16 mph, Cruising range 19-22 miles, 24V DC motor, Charging system AC 110V-220V, Charging time 6-8 hrs. Max rider weight 264 lbs. Rear brake drum with front cantlever. </td> </tr> </table> I've tried everything to do with "td" and everything that looks like a default, (body, main, etc.) and nothing's touching this. Has anybody seen problems with product descriptions added to the catalog in the form of html code formatting correctly?
Raquel Posted March 15, 2006 Posted March 15, 2006 I had tried that. Here's the code: <table width="93%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>Four wheel battery powered scooter, Comes equipped with rear view mirrors, front and rear lights and storage basket. Size Length - 47.2" Width - 25.2" Height - 37", Weight 118 lbs, Tires 12 1/2" x 2 1/4", Aluminum alloy wheels, Battery 24V / 20 AH, Max speed 16 mph, Cruising range 19-22 miles, 24V DC motor, Charging system AC 110V-220V, Charging time 6-8 hrs. Max rider weight 264 lbs. Rear brake drum with front cantlever. </td> </tr> </table> I've tried everything to do with "td" and everything that looks like a default, (body, main, etc.) and nothing's touching this. Has anybody seen problems with product descriptions added to the catalog in the form of html code formatting correctly? Where does that code snippet come from? Is it something you added manually? -- I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction. Ayn Rand
keress Posted March 15, 2006 Author Posted March 15, 2006 It is a problem with inputting HTML into the product description. As soon as I removed a paragraph from the html table it was in, it was formatted correctly by the stylesheet.
keress Posted March 16, 2006 Author Posted March 16, 2006 I installed the FCKeditor and it has resolved the issue. (Great editor!) I'm still hazy on how my stylesheet is controlling my shop, but I can live with it till another day. Thanks for your help.
jasonabc Posted March 16, 2006 Posted March 16, 2006 The Firefox Developer Toolbar (http://chrispederick.com/work/webdeveloper/) allows you to edit CSS styles on the fly (in real time) to any page or website. It's a fantastic tool for tweeking/editing the OSC stylesheet. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Recommended Posts
Archived
This topic is now archived and is closed to further replies.