Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Sep 2010
    Posts
    38
    Plugin Contributions
    0

    Default stupid question...

    I have a really stupid question...sorry everyone...

    can you please help me find the file that has

    div id headerWrapper
    div id logo wrapper
    img src...


    etc

    its not the tpl header...tried that...


    thanks!!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: stupid question...

    /includes/templates/your_template/common/tpl_header.php. If you don't have a custom copy of that file yet, copy it from /includes/templates/template_default/common/tpl_header.php.

    tpl_header.php is the only place for that code... unless you have an extremely customized template, in which case, we can't help you find it.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: stupid question...

    It is includes/templates/template_default/common/tpl_header.php.

    What exactly are you trying to do ?

  4. #4
    Join Date
    Sep 2010
    Posts
    38
    Plugin Contributions
    0

    Default Re: stupid question...

    I've been trying to add an H1 heading for days...

    When I open up a demo site with default template and inspect it with Chrome it says H1 heading under the tagline.

    But i don't see the same with mine.

    www.thehustlelusionstore.com

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: stupid question...

    In a stock Zencart installation using the Classic template, there's no <h1> tag in the header - the first one is the #indexDefaultHeading (Congratulations, etc.) which is edited in includes/languages/english/index.php.

    https://www.zen-cart.com/tutorials/i...hp?article=129

    When you're adding your code to tpl_header.php, are you saving the file to includes/templates/pure_black_free/common ?

  6. #6
    Join Date
    Sep 2010
    Posts
    38
    Plugin Contributions
    0

    Default Re: stupid question...

    So that heading is the same thing as the H1 thing? I'm just trying to do it for SEO.
    I haven't changed anything yet. I don't wanna screw up lol but yes if I did make changes I would save them back to wherever they came from.

  7. #7
    Join Date
    Sep 2010
    Posts
    38
    Plugin Contributions
    0

    Default Re: stupid question...

    get this. i followed the tutorial and it's still blank next to my logo...hmmmm....

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: stupid question...

    Let's back up. Forget about SEO or <h1>. What text do you want to appear where ? If it's in the header, just replace (or add to, if it's blank) the define text of HEADER_SALES_TEXT in includes/languages/english/header.php and save the file to includes/languages/english/YOUR_TEMPLATE_NAME

  9. #9
    Join Date
    Sep 2010
    Posts
    38
    Plugin Contributions
    0

    Default Re: stupid question...

    the words I'm trying to put are in the header, next to the logo.
    I went into languages/English/my template/header because i remember making changes on it and below is what it says

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'The Hustlelusion, a variety of belts, stretch belts, fashion belts, leather belts');
    define('HEADER_SALES_TEXT', '<H1>The Hustlelusion, Fashion Belts, Mens Belts, Stretch Belts, and Leather Belts at an Affordable Price!</H1>');
    define('HEADER_LOGO_WIDTH', '37px');
    define('HEADER_LOGO_HEIGHT', '37px');
    define('HEADER_LOGO_IMAGE', 'Website_Size_Logo.gif');

    thanks for your patience

    right now in my site next to the logo it shows nothing

  10. #10
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: stupid question...

    Remove the <h1> and </h1> tags and see what happens.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. stupid question
    By loproracecars in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 21 Apr 2010, 06:19 AM
  2. stupid question
    By him77 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Sep 2008, 07:42 AM
  3. stupid question...
    By c-howdy in forum General Questions
    Replies: 2
    Last Post: 8 Dec 2007, 02:29 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