Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing font size

    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

    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>
    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.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  2. #12
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Changing font size

    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>

  3. #13
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing font size

    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

    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">
    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.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #14
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Changing font size

    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

  5. #15
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing font size

    Not all the files will go into the includes/templates/CUSTOM folder. The folders need to be created where the original files are located. So if you're working on includes/languages/english/html_includes/define_main_page.php you save your changes in includes/languages/english/html_includes/CUSTOM/. Wherever you see a /classic folder you can create a folder for your custom template.


    Don't forget to create/edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  6. #16
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Changing font size

    Ok, so here's where I am. I created
    includes/languages/english/html_includes/CUSTOM/define_main_page.php
    and I put my code into that file and uploaded it to the server.
    My template selection page shows a purple arrow next to the CUSTOM template that I've selected yet my home page is still unchanged. I thought that was going to change my home page? Of course I went ahead and copied all the other files to go along with the define_main_page.php file too. Now what?

    Ian

  7. #17
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing font size

    I'm looking at http://mowerpartsupply.com/catalog/ and it's using the classic template.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  8. #18
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Changing font size

    I don't understand. Look. It shows I'm using my CUSTOM template.

    Ian
    [img]www.mowerpartsupply.com/images/zc.jpg[/img]

  9. #19
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing font size

    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" />
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  10. #20
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Changing font size

    But look at the linked photo below. As far as I can tell it says I have CUSTOM selected right?

    Ian
    www.mowerpartsupply.com/images/zc.jpg

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. changing font size
    By debs100 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Jan 2012, 12:38 PM
  2. Changing font size
    By toodamnbroke in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Oct 2011, 05:47 PM
  3. Global Font Size Setting: Changing Percentage and related EM Font Sizes
    By Donn in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Feb 2009, 09:20 PM
  4. changing font size?
    By scooter in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Dec 2008, 12:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg