Yeah I tried everything. style19, style16, style12.... you name it. Nothing made any font size changes.
Yeah I tried everything. style19, style16, style12.... you name it. Nothing made any font size changes.
What are those supposed to do? It seems to be controlling the first character only and blocking the rest of the text from being resized. Where is that coming from. It's not in the stylesheet.
That's from the define_main_page.php file found in includes/languages/english/html_includes/classic I changed it back to style12, which as I recall was the default, but still my css page is still not changing my background color or font size?
Ian
You shouldn't be editing the files in the /classic or /template_default folders. If you make your changes there, they'll be overwritten by the next update/upgrade.
Looking at the Zen Cart I have unzipped locally, there is no define_main_page.php in includes/languages/english/html_includes/classic. The original text from includes/languages/english/html_includes/define_main_page.php is
I still don't know where .style12 or .style16 is coming from, but REMOVE it entirely and save it in your custom folder. You may have copied it from the html generated by the prototype you did of the layout.Code:<a href="http://www.lulu.com/content/466605"><img src="images/large/e-start-book.gif" alt="get your manual today" title="Have you got yours yet? Join the 1000’s of Zen Cart users that have bought the only comprehensive owners manual !" /></a> <p>This content is located in the file at: <code> /languages/english/html_includes/YOUR_TEMPLATE/define_main_page.php</code></p> <p>You can quickly edit this content via Admin->Tools->Define Pages Editor, and select define_main_page from the pulldown.</p> <p><strong>NOTE: Always backup the files in<code> /languages/english/html_includes/your_template</code></strong></p>
My code for my file includes/languages/english/html_includes/classic/define_main_page.php is now
<td bgcolor="#FFFFFF" height="19" align="left" valign="top" width="282">
<p align="justify"><span class="style12">W</span>elcome to Mower Parts Supply. We wholesale parts and accessories for Echo, Redmax, Stihl, Robin, Husqvarna, Shindaiwa, Toro, Exmark, Bunton, Snapper, MTD, Craftsman, Cub Cadet, Murray, Briggs and Stratton, Tecumseh, Kohler, Kawasaki, Honda, and many more. We stock a full line of belts, blades, air filters, lubricants, trimmer lines, rebuild kits, and OEM replacement parts. We are adding products to this web page frequently so if you need a part or accessory not found on our site please call our knowledgeable/friendly staff for assistance. We ship all orders via FedEx Ground at 5 p.m. central standard time; all orders received by 4 p.m. are likely to ship same day. </td>
<td bgcolor="#FFFFFF" height="19" align="left" valign="top" width="294"><img src="http://mowerpartsupply.com/images/mower_blower_trimmer.gif" alt="pictures_of_lawn_equipment" width="280" height="300" /><br /> </td>
That's how I got my home page verbage and gif image to appear. Are you saying I should change that back to
<a href="http://www.lulu.com/content/466605"><img src="images/large/e-start-book.gif" alt="get your manual today" title="Have you got yours yet? Join the 1000’s of Zen Cart users that have bought the only comprehensive owners manual !" /></a>
<p>This content is located in the file at: <code> /languages/english/html_includes/YOUR_TEMPLATE/define_main_page.php</code></p>
<p>You can quickly edit this content via Admin->Tools->Define Pages Editor, and select define_main_page from the pulldown.</p>
<p><strong>NOTE: Always backup the files in<code> /languages/english/html_includes/your_template</code></strong></p>
No, I posted the original to show that what you have isn't what was originally there.
Again, DO NOT save your changes in the /classic or /template_default folders or you will lose ALL of your modifications with the next upgrade/update. The /classic folder is a useful marker for where you can create folders your own custom template. Please read about creating your own template in the tutorials/FAQ.
Change your includes/languages/english/html_includes/YOUR_TEMPLATE/define_main_page.php to
and see if that helps. It'll probably have to be played around with a little. I based my suggestion on what I did on my nephew's site in my sig.Code:<p align="justify"><span class="style12">W</span>elcome to Mower Parts Supply. We wholesale parts and accessories for Echo, Redmax, Stihl, Robin, Husqvarna, Shindaiwa, Toro, Exmark, Bunton, Snapper, MTD, Craftsman, Cub Cadet, Murray, Briggs and Stratton, Tecumseh, Kohler, Kawasaki, Honda, and many more. We stock a full line of belts, blades, air filters, lubricants, trimmer lines, rebuild kits, and OEM replacement parts. We are adding products to this web page frequently so if you need a part or accessory not found on our site please call our knowledgeable/friendly staff for assistance. We ship all orders via FedEx Ground at 5 p.m. central standard time; all orders received by 4 p.m. are likely to ship same day. <img src="http://mowerpartsupply.com/images/mower_blower_trimmer.gif" alt="pictures_of_lawn_equipment" width="280" height="300" align="right">
Ok, I'm lost again. I've already created my own custom template just as described at the page.
https://www.zen-cart.com/tutorials/i...hp?article=142
I changed the code back to the original so my home page body section now looks just like it did.
http://mowerpartsupply.com/catalog/
However, when I try to find
includes/languages/english/html_includes/YOUR_TEMPLATE/define_main_page.php
to edit it I can not find it because I put my CUSTOM template folder under
includes/templates/CUSTOM
just as instructed. I'm clearly missing something big.
Ian
I'm looking at http://mowerpartsupply.com/catalog/ and it's using the classic template.
I don't understand. Look. It shows I'm using my CUSTOM template.
Ian
[img]www.mowerpartsupply.com/images/zc.jpg[/img]
When I go to http://mowerpartsupply.com/catalog/, it's clearly the classic green template. If I look at the source of the page, it says stuff like
Code:<link rel="stylesheet" type="text/css" href="includes/templates/classic/css/stylesheet.css" />