Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2005
    Posts
    60
    Plugin Contributions
    0

    Default Remove header title from main page

    I would like to have the word home (below the logo, above the welcome message) removed from the top of the index page without removing the button form the header.

    I know how to reomve the button, which also removes the header title, but I want to keep the button.

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Remove header title from main page

    Sorry but I did not get your question
    Which button?
    San

  3. #3
    Join Date
    Dec 2005
    Posts
    60
    Plugin Contributions
    0

    Default Re: Remove header title from main page

    There are 2 buttons on the top of the index page header. Home and Log In.

    I would like to remove the the either header title or the page title, not sure which it is a part of (I'm not talking about the title that shows up in the browser title bar). It says Home when you are the main page. The text is below the logo.gif and above the welcome message

  4. #4
    Join Date
    Dec 2005
    Posts
    60
    Plugin Contributions
    0

    Default Re: Remove header title from main page

    I think its ccalled the navBreadCrumb.

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Remove header title from main page

    Try this:

    How do I remove the Home in the middle column next to the Categories box?

    This is called the breadcrumb (think Hansel and Gretel) showing where you are and how to get back to previous locations. You can either turn it off completely or you can turn it off only on the main page.

    You can turn it off in admin -> configuration -> layout settings -> Define Breadcrumb Status and set to 0.

    To turn it off on the main page only in includes -> templates -> YOUR_TEMPLATE -> templates -> common -> tpl_main_page.php find the following lines of code

    PHP Code:
    <!-- bof  breadcrumb -->
    <?php if (DEFINE_BREADCRUMB_STATUS == '1') { ?>
        <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
    <?php ?>
    <!-- eof breadcrumb -->
    and change to:

    PHP Code:
    <!-- bof  breadcrumb -->
    <?php if (DEFINE_BREADCRUMB_STATUS == '1' && ($current_page!='index' || (int)$cPath>)) { ?>    <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
    <?php ?>
    <!-- eof breadcrumb -->

  6. #6
    Join Date
    Dec 2005
    Posts
    60
    Plugin Contributions
    0

    Default Re: Remove header title from main page

    That worked, Thanks.

  7. #7
    Join Date
    Jun 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Remove header title from main page

    I have a question about the Sales Message Goes Here section and the Powered by Zencart The Art of E-Commerce on the top left and also the Congratulations! You Have Sucessfully Installed Your Zen Car E-Commerce Solution sections. How do I change these??? I want to put my logo, sales message and don't want the world to see that I successfully downloaded the Zencart. I can't find where to change this anywhere??

  8. #8
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Remove header title from main page

    The bast place to look for this would be the FAQ.
    there is a link above.

    for sales message goes here
    includes/languages/english/your_template/header.php
    for the other
    includes/languages/english/your_template/index.php
    Zen cart PCI compliant Hosting

  9. #9
    Join Date
    Jun 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Remove header title from main page

    Could you explain that in a little more detail for me? I didn't see a link for the FAQ section and the second part of your message cofused me. I am very, very new at this. Thank you for your help. Cristina

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Remove header title from main page

    How do I add and position a new logo?

    Using an image editor create your new logo and save it to includes -> templates -> YOUR_TEMPLATE -> images -> logo.gif and upload it to your server.
    By default the logo is Left aligned. Changing the alignment involves making a modification to your stylesheet.css. Open the stylesheet.css and find the following:

    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    }

    and change it to

    #logo {float: left;}/* Make your changes here (i.e. to center the logo change float: left; to text-align: center; or you can align it to the right by changing float: left; to float: right;) */

    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    }

    --------------

    How do I change the "sales message goes here"/"TagLine Here" text?

    In order to add your own "sales text", changes will have to be made in includes -> languages -> English (or YOUR LANGUAGE) -> header.php.
    Open the file in a text editor and find the following line of code:

    define('HEADER_SALES_TEXT', 'TagLine Here');

    Make your changes to the text highlighted in red. Save the file and copy it to the includes -> languages -> English (or YOUR LANGUAGE) -> YOUR_TEMPLATE folder and upload it to your server.

    --------------

    How do I change Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution?

    look in includes -> languages -> english -> index.php and find this:

    // This section deals with the "home" page at the top level with no options/products selected
    /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.');
    } elseif ($category_depth == 'nested') {
    // This section deals with displaying a subcategory
    /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.');
    }

    change the portions in red to whatever you want.

 

 

Similar Threads

  1. Remove, header title from home page only
    By Petlife in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Mar 2011, 09:49 PM
  2. Remove text title from categories on the main page.
    By drgr33n in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Oct 2010, 10:48 AM
  3. Cant change main page title or remove header banner
    By nyAlist in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Feb 2009, 01:53 AM
  4. Detaching header from main page - how to get main section and header size differently
    By guls_guys in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Apr 2008, 06:07 PM

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