Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Remove text from border/header

    Hi there,
    I've got text under my Featured products heading. I asked for help in another part of the forum but I think I got confused and am starting again.

    I want to remove the text as search engines will think I'm spamming.

    Using latest version of Zen-cart with a heavily modified version of the surf shop template.

    Website is www.lovetovape.com.au

    I had installed the Ultimate SEO mod and I lost my whole site. I'm just getting it back again!!!

    Cheers,

    Maxy


    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	featured hilighted.jpg 
Views:	53 
Size:	9.0 KB 
ID:	8723   Click image for larger version. 

Name:	Featured.jpg 
Views:	52 
Size:	7.4 KB 
ID:	8724  

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

    Default Re: Remove text from border/header

    Google loves text. Unless it finds the exact same text somewhere else and concludes that you're trying to up your rating by plagerising, this is what gets good rankings.

    But if you want to remove it, just reverse the process that you followed to put it in. Most likely you edited the define_main_page.php file eitehr directly or through your admin's define page editor (on the tools menu), but only you can know this.
    Kuroi Web Design and Development | Twitter

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

  3. #3
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: Remove text from border/header

    Hi kuroi,
    It was like that when I installed the template. I am a total Zen noob so didn't think much about it until I noticed the featured products box looked like it had mice bites out of the bottom of it. I highlighted it and found that the text was there.

    So I am no closer to knowing how to get rid of it. It's not showing up on the main page define.

    Cheers,

    Maxy

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

    Default Re: Remove text from border/header

    Ah. OK. I'd misunderstood what text you meant. My bad.

    Unfortunately I can't get a link ton your site at the moment to look more closely. Is it down?
    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
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: Remove text from border/header

    Mate!!
    If the friggin thing isn't down it's broken
    I'm moving to a new hosting service next week. That can't come soon enough let me tell you!!!

    I just tried and yep it's down!!! Grrr

    I'll post again when it's up.

  6. #6
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: Remove text from border/header

    ok it's up now

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

    Default Re: Remove text from border/header

    Yep. Looks like a slow (or overloaded) server.

    The original problem is caused by using a text replacement technique (i.e. the text is intended to be replaced by an image), where the image has been added, but the original text hasn't been taken away.

    A quick way to deal with this would be to add the following to your styling for #featuredProducts .centerBoxHeading (line 198 of your stylesheet)
    text-indent: -9999px
    This simply shoots the text that you don't want to be visible to the left by 9999px, which is way outside any browser window that you site is likely to encounter.
    Kuroi Web Design and Development | Twitter

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

  8. #8
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: Remove text from border/header

    Hi kuroi,
    Thanks for replying.
    Are you talking about the stylesheet.css file in my templates folder?

    I don't have anything like that in there??

    it's in the stylesheet headings.css file :)
    Last edited by maxy007; 23 Jan 2011 at 11:14 AM. Reason: found it

  9. #9
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: Remove text from border/header

    Hmmm that didn't work.
    This is what I ended up with (see screenshot)

    This is how it looks in my stylesheet_headings.css file at line 198

    #featuredProducts .centerBoxHeading {
    background:#fff;
    color:fffff;
    background-image: url(../images/featuredcenterhead.gif);
    text-indent: -9999px
    background-repeat:no-repeat;
    background-position:center;
    padding-top: 49px;
    }
    Attached Images Attached Images  

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

    Default Re: Remove text from border/header

    It needs to a semi-colon, ";", at the end of the line to finish it and avoid invalidating the lines that follow.
    Kuroi Web Design and Development | Twitter

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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. removing the header and border from an added sidebox
    By sesnut in forum Addon Sideboxes
    Replies: 5
    Last Post: 14 Mar 2010, 08:58 PM
  2. Want to remove text and image from Categories Header
    By Gomlers in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jan 2010, 04:22 AM
  3. Cannot remove text from header
    By JuzJoJo in forum General Questions
    Replies: 4
    Last Post: 17 Nov 2008, 05:41 PM
  4. Trying to remove border around header
    By debtag in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Feb 2008, 07:29 PM
  5. how do i remove rollover alt text from header logo
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Nov 2007, 04:11 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