Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Changing font size

    Yeah I tried everything. style19, style16, style12.... you name it. Nothing made any font size changes.

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

    Default Re: Changing font size

    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.

  3. #3
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Changing font size

    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

  4. #4
    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.

  5. #5
    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>

  6. #6
    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.

  7. #7
    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

  8. #8
    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.

  9. #9
    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]

  10. #10
    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" />

 

 
Page 1 of 2 12 LastLast

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