Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    red flag Remove / Hide category link from category image on home page

    Hi, I've found similar threads and one thread where someone wants to do the opposite but cannot find the answer to this;

    I know how to not show the categories and their images on the homepage in centre coloum alltogether, but what I'd like to do instead is keep the category images as they are in the centre column but remove the category link from underneath with just each category image remaining and linking to its category.

    I couldnt work out from the admin how to do this so I guess its edting some css?

    Any help would be much appreciated.

    Thanks!

  2. #2
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: Remove / Hide category link from category image on home page


  3. #3
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: Remove / Hide category link from category image on home page

    Maybe what I want to do isnt clear enough from my title...it should really read; Remove / Hide category link from underneath category image on home page but keep category image linking to its category.

  4. #4
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Remove / Hide category link from category image on home page

    are you looking to do this on all the pages? homepage, category listing, etc

  5. #5
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Remove / Hide category link from category image on home page

    You can add this code in your CSS file - that will remove all instances of the title (even in your category listing, ie under HOME DECOR for example)


    .categoryListBoxContents a {
    display: none;
    }

  6. #6
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: Remove / Hide category link from category image on home page

    Yes, i'd like the title link underneath my category images on the category listing page to be removed also. I added that code to the stylsheet but all it did was remove the whole thing, category image included. I only want to remove the text link

  7. #7
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Remove / Hide category link from category image on home page

    hrmm... well, i guess another option is to just change the color of the text to white.

    .categoryListBoxContents a:link, .categoryListBoxContents a:visited, .categoryListBoxContents a:hover {
    color: #fff;
    }

  8. #8
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Remove / Hide category link from category image on home page

    I did give you the anwser - to your post in another thread HERE
    19 years a Zencart User

  9. #9
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Remove / Hide category link from category image on home page

    Put these two at the bottom of your stylesheet.css in the exact sequence they appear here:

    .categoryListBoxContents a {visibility: hidden;}
    .categoryListBoxContents a img {visibility: visible;}
    19 years a Zencart User

  10. #10
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Remove / Hide category link from category image on home page

    yep, that's another good option.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Remove category image from product page
    By cousinschar in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Jan 2012, 04:30 AM
  2. remove category image / icon from category
    By johnybravo in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Sep 2011, 08:13 PM
  3. Remove Category Heading/Image from Main page
    By Wildthing in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 23 Apr 2010, 01:12 AM
  4. Remove category image from product page ?
    By roger06 in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 23 Jan 2009, 09:06 PM
  5. Remove image from category listing page
    By bblinn in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Jul 2008, 11:47 PM

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