Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2006
    Posts
    170
    Plugin Contributions
    0

    Default H1 Still Appearing after delete?

    Hi all,

    I've removed the following line completely from my 'tpl_index_default.php' file:

    <h1 id="indexDefaultHeading"></h1>

    Yet the aforementioned is still appearing on my page!?!?! I have no idea how to get rid of this, and I'm not sure what I'm missing. You can view the live example at http://doyledesigninc.com/contographer/ to see what I mean...

  2. #2
    Join Date
    Dec 2006
    Location
    Victoria, Australia
    Posts
    360
    Plugin Contributions
    0

    Default Re: H1 Still Appearing after delete?

    Are you wanting to get rid of the welcome or change the appearance?

  3. #3
    Join Date
    Oct 2006
    Posts
    170
    Plugin Contributions
    0

    Default Re: H1 Still Appearing after delete?

    I want to get rid of the empty <h1> that is sitting at the top of my page, creating an unnecessary bottom-border (as is set for all H1's). If you view the source on this page http://doyledesigninc.com/contographer, you will notice the issue on the home page. I've REMOVED the <h1></h1> completely from my 'tpl_index_default', but it is still appearing on the home page!!! There must be another place where this exists, and I would like to remove it completely fromt he page.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: H1 Still Appearing after delete?

    You have two choices.
    1. You could go with the Zen Cart flow by putting "Welcome" as HEADING_TITLE for category_depth = top and remove the version that you have hardcoded into the page
    2. You could add #indexDefaultHeading {display:none} to your stylesheet
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Oct 2006
    Posts
    170
    Plugin Contributions
    0

    Default Re: H1 Still Appearing after delete?

    Choice #2 is pure genius - thank you!

  6. #6
    Join Date
    Feb 2006
    Posts
    52
    Plugin Contributions
    0

    Default Re: H1 Still Appearing after delete?

    Hi there

    I've been reading up on search engine optimisation.

    One suggestion is that Google and other look at teh value of the H1 variable in the home page.

    When I do a view source mine is set to "indexDefaultHeading"

    Can I change this to my keywords but not display it on the page?

    Please feel free to have a look at www.giftsfromwales.com and offer any advice on how I can improve my rankings!

    Thanks

    Steve
    My Zencarts:
    ---------------------------
    Giftsfromwales

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: H1 Still Appearing after delete?

    To put an H1 on the page and then hide it, and hope that search engines don't catch on ... will bite you in the end ... because Google pays attention to that sort of thing, and penalizes you.

    If you're not going to use it, don't.

    Or, better yet, *use* it ... find a creative way to actually use it so that you can gain the benefits that using it brings you.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v154 Image and files still remains in server even after delete
    By diptimoy in forum General Questions
    Replies: 14
    Last Post: 23 Oct 2015, 09:05 AM
  2. Product Images Not Appearing After Upgrade
    By CompuWeb in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 7 Jul 2010, 09:15 AM
  3. Images not appearing after changing Hosting sites.
    By cyphercys in forum General Questions
    Replies: 2
    Last Post: 16 Dec 2009, 08:02 AM
  4. Customer name appearing after login
    By Peace Freak in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Aug 2006, 07:51 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