Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2008
    Posts
    192
    Plugin Contributions
    0

    Default Remove link from logowrapper

    Where can I remove the 'logo link' to the main page within the logowrapper?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Remove link from logowrapper

    In your tpl_header.php
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jul 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Remove link from logowrapper

    Quote Originally Posted by Kim View Post
    In your tpl_header.php
    Thanks Kim, I did look around in the mentioned file but I don't see it?

    Here is what I have:

    Code:
    <div id="logoWrapper">
        <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
        <div id="taglineWrapper">
    <?php
                  if (HEADER_SALES_TEXT != '') {
    ?>
          <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    <?php
                  }
    ?>
    <?php
                  if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
                    if ($banner->RecordCount() > 0) {
    ?>
          <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
                    }
                  }
    ?>
        </div>
    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
    </div>

  4. #4
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Remove link from logowrapper

    You'll need to remove the link that PHP is outputting on the second line of that code you posted.

    Make sure you also remove the closing </a> tag.

  5. #5
    Join Date
    Jul 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Remove link from logowrapper

    Thank you, I had second thoughts about that second line... but it worked!

 

 

Similar Threads

  1. Remove 'Home' link from navMain?
    By shadowcat in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Mar 2009, 01:08 AM
  2. how to remove vertical space between logoWrapper and navMainWrapper?
    By jamesdavid in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 10 Jun 2008, 12:40 PM
  3. how to remove space between logoWrapper and navMainWrapper??
    By jamesdavid in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 May 2008, 08:12 PM
  4. Remove the X box in logowrapper
    By Tom_Ace in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 22 Dec 2006, 07:18 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