Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2019
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default "Page not working" when changing header.php

    When changing the file includes/languages/english/header.php to read:

    define('HEADER_SALES_TEXT', 'Just when you thought it couldn't get any better!');

    and I refresh the store front I get a "Page not working".
    I realized that I had to delete the single quote in "couldn't," and make it two words:

    define('HEADER_SALES_TEXT', 'Just when you thought it could not get any better!');

    In order for the page to load properly.

    Is there another way of writing this code?
    I do want the tagline to read:
    "Just when you thought it couldn't get any better!"

    Also.....

    How do I change the font size and make it italic?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,036
    Plugin Contributions
    72

    Default Re: "Page not working" when changing header.php

    Two different ways to do that

    define('HEADER_SALES_TEXT', 'Just when you thought it couldn\'t get any better!');

    or

    define('HEADER_SALES_TEXT', "Just when you thought it couldn't get any better!");

  3. #3
    Join Date
    Jul 2012
    Posts
    14,472
    Plugin Contributions
    17

    Default Re: "Page not working" when changing header.php

    There's a number of ways to adjust characteristics about the display of the text. Can use html to identify css type properties such as to italicize text can surround it with <i></i> tags to get a result similar to <i>Italicize This Please</i> or can use css on a per page/load type basis to modify the look of an object found using appropriate tag information.

    There's plenty of information on the Internet about how to generally use css to do such things. If having difficulty identifying where in ZC to make a particular change, please provide a sample page so that whomever is reviewing the request can provide specific information.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

 

 

Similar Threads

  1. v156 "Page not working" when changing header.php
    By MDLIV in forum General Questions
    Replies: 7
    Last Post: 14 Oct 2019, 01:13 AM
  2. <a href="#" not working when trying to add a tooltip: onmouseover="Tip('First Name')"
    By time111 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Nov 2009, 08:57 PM
  3. Replies: 18
    Last Post: 29 Sep 2009, 02:37 PM
  4. Replies: 22
    Last Post: 28 Nov 2007, 05:44 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR